Re: Any objectsions to enhancing git-log to show tags/branch heads?
- From
Theodore Tso <tytso@mit.edu>
- Date
- Apr 17, 2007, 03:15 UTC
- Message-ID
- <20070417031552.GA18373@thunk.org>
- In-Reply-To
- <f01b9g$qqc$1@sea.gmane.org>
On Tue, Apr 17, 2007 at 04:30:47AM +0200, Jakub Narebski wrote:
> 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)).
Sigh, I found --abbrev first from deferencing the following paragraph from the git-log man page:
The [git-log] command takes options applicable to the git-rev-list(1) command to control what is shown and how, and options applicable to the git-diff-tree(1) commands to control how the changes each commit introduces are shown.
In any case, --abrev is mentioned in git-rev-list(1)'s man page, and specifying it doesn't cause git-log to bomb out with an illegal option name. It just apparently ignores it as far as I can tell.
- Ted