git-school / visualizing-git

:framed_picture: Visualize how common Git operations affect the commit graph
http://git-school.github.io/visualizing-git/
MIT License
1.25k stars 193 forks source link

Commit hash accidentally parsed as number #102

Open seckii opened 6 years ago

seckii commented 6 years ago

If you happen to have a SHA like '1234e8' it will not be recognized as such but is treated as a number in scientific notation, thus giving messages about '123400000000' not found.

arvincheung commented 6 years ago

Same with commits start with zeros. e.g. '0005747' will give '5747' not found.