All of lore.kernel.org
 help / color / mirror / Atom feed
* [BUG] 'git show' gives duplicate errors for ambiguous args
@ 2012-09-08 18:43 Ori Avtalion
  0 siblings, 0 replies; only message in thread
From: Ori Avtalion @ 2012-09-08 18:43 UTC (permalink / raw)
  To: git

With the git.git repository:

  $ git show abcd
  error: short SHA1 abcd is ambiguous.
  error: short SHA1 abcd is ambiguous.
  fatal: ambiguous argument 'abcd': unknown revision or path not in the
working tree.
  Use '--' to separate paths from revisions

The "is ambiguous" message shouldn't be shown twice.

The first error is printed by revision.c:1796 (a call to
handle_revision_arg), and the second by revision.c:1808 (a call to
verify_filename). I don't see an easy way to suppress it.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-09-08 18:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-08 18:43 [BUG] 'git show' gives duplicate errors for ambiguous args Ori Avtalion

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.