From: Anders Melchiorsen Date: Tue, 13 Jan 2009 00:08:52 GMT Subject: Re: [PATCH] gitweb: recognize six digit abbreviated SHA1 Message-ID: <87mydw2hkb.fsf@cup.kalibalik.dk> In-Reply-To: <87mydw2hrb.fsf@cup.kalibalik.dk> Anders Melchiorsen 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.