From: Junio C Hamano Date: Sun, 18 Dec 2005 02:57:19 GMT Subject: Re: [PATCH] diff: --abbrev option Message-ID: <7vek4byuwg.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20051218001756.GS22159@pasky.or.cz> Petr Baudis writes: > I was actually thinking to by default trim all the hashes Cogito show > to 12 or 16 characters. Seven still seems dangerously low to me, though; > it would be nice if the number of characters to trim would be > configurable (unless I've missed that). Well, I did better than you imagined this time, for a change ;-) It trims and adds extra as needed without breaking alignments, so you could get something like this: > :100755 100755 0266f46... b0e54ed... M git-branch.sh > :100755 100755 f241d4b9.. 36308d2ab. M git-checkout.sh That is, ... is not just distraction but are part of the design. Cut and paste is a byproduct.