Re: [PATCH] gitweb: recognize six digit abbreviated SHA1
- From
- Anders Melchiorsen <mail@cup.kalibalik.dk>
- Date
- Jan 13, 2009, 00:08 UTC
- Message-ID
- <87mydw2hkb.fsf@cup.kalibalik.dk>
- In-Reply-To
- <87mydw2hrb.fsf@cup.kalibalik.dk>
Anders Melchiorsen <mail@cup.kalibalik.dk> writes:
> + if ($line =~ m/([0-9a-fA-F]{7,40})/) {I could not make up my mind between the seven digits from "git rev-parse --short" and the six digits currently used by gitk.
So I put one option in the patch, and the other one in the subject.
Cheers, Anders.