travisgoodspeed / goodwatch

Replacement board for Casio Calculator Watches using the CC430F6147
503 stars 55 forks source link

clock: use first 7 digits for git hash #88

Closed qguv closed 6 years ago

qguv commented 6 years ago

Right now, pressing 4 in the clock app shows the sixth through twelfth characters of the commit hash at last flash. Let's use the first seven characters instead, so you can just type it directly into git checkout xxxxxxx.

Not using git describe because upstream doesn't currently use tags, plus we'd have to truncate the tag names anyway.

travisgoodspeed commented 6 years ago

Thanks for the PR!

I think this needs a change to .gitignore, but it's otherwise good to go. Merging it tomorrow unless someone sees a problem.