git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git describe --contains
@ 2010-01-18 23:37 John Tapsell
  2010-01-19  7:11 ` Ramkumar Ramachandra
  0 siblings, 1 reply; 2+ messages in thread
From: John Tapsell @ 2010-01-18 23:37 UTC (permalink / raw)
  To: Git List

Hi all,

Doing:   git describe --contains SHA

on a SHA that is not contained by any tags gives a confusing error
message that it cannot describe the SHA.
Could this error message be changed please to just say something like
"SHA1 is not in any tags."

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

* Re: git describe --contains
  2010-01-18 23:37 git describe --contains John Tapsell
@ 2010-01-19  7:11 ` Ramkumar Ramachandra
  0 siblings, 0 replies; 2+ messages in thread
From: Ramkumar Ramachandra @ 2010-01-19  7:11 UTC (permalink / raw)
  To: git

> Doing:   git describe --contains SHA

The problem resides in builtin-describe.c:377. It uses cmd_name_rev from builtin-
name-rev.c. I'm attempting to rewrite this, and have a describe_contains() - 
Hopefully, I'll get a patch out by the end of the day.

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

end of thread, other threads:[~2010-01-19  7:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-18 23:37 git describe --contains John Tapsell
2010-01-19  7:11 ` Ramkumar Ramachandra

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).