git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* inconsistency with --abbrev=0
@ 2009-05-31 15:48 Markus Heidelberg
  2009-05-31 17:46 ` Sverre Rabbelier
  0 siblings, 1 reply; 3+ messages in thread
From: Markus Heidelberg @ 2009-05-31 15:48 UTC (permalink / raw)
  To: git

The minimum (>=4) number of chars is shown by

  git log|show|whatchanged --abbrev-commit --raw --abbrev=0
  git rev-list --abbrev-commit --abbrev=0 HEAD
  git show-ref --abbrev=0
  and the various diff commands

All 40 are shown by

  git branch -v --abbrev=0
  git ls-files --stage --abbrev=0
  git ls-tree --abbrev=0 HEAD

The latter group uses parse-options and doesn't set abbrev to 4 in this
case. This is needed for git-describe to omit the output of the commit.

What should --abbrev=0 behave like?

Markus

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-06-01 10:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-31 15:48 inconsistency with --abbrev=0 Markus Heidelberg
2009-05-31 17:46 ` Sverre Rabbelier
2009-06-01 10:36   ` Markus Heidelberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).