Re: Any objectsions to enhancing git-log to show tags/branch heads?
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Apr 17, 2007, 02:30 UTC
- Message-ID
- <f01b9g$qqc$1@sea.gmane.org>
- In-Reply-To
- <20070417022154.GC30340@thunk.org>
Theodore Tso wrote:
Show 11 quoted lines
> The one thing that's a bit unfortunate is that with the commit ID > taking up 40 characters, very often there's not enough space on the > screen to display all of the tags and references (and with the default > less options being hardcoded as "-FRSX", the ones that go beyond the > width of the screen get lost. > > So I tried to use --abbrev, and it didn't shrink the size of the id, > like I thought it would. It didn't object to the option, but > apparently it ignored it. Funny, I thought it worked before, but it > wasn't before I applied the patch, so it wasn't your patches that were > at fault.
You have to use --abbrev-commit (--abbrev is opassed to log machinery, and covers object ids), which is undocumented option (mentioned only in passing in git-reflog(1)).
-- Jakub Narebski Warsaw, Poland ShadeHawk on #git