git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Fix stupid typo in lookup_tag()
@ 2007-05-28 23:21 Johan Herland
  0 siblings, 0 replies; only message in thread
From: Johan Herland @ 2007-05-28 23:21 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

Signed-off-by: Johan Herland <johan@herland.net>
---
 tag.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tag.c b/tag.c
index 330d287..bbacd59 100644
--- a/tag.c
+++ b/tag.c
@@ -26,7 +26,7 @@ struct tag *lookup_tag(const unsigned char *sha1)
 	if (!obj->type)
 		obj->type = OBJ_TAG;
         if (obj->type != OBJ_TAG) {
-                error("Object %s is a %s, not a tree",
+                error("Object %s is a %s, not a tag",
                       sha1_to_hex(sha1), typename(obj->type));
                 return NULL;
         }
-- 
1.5.2.101.gee49f

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

only message in thread, other threads:[~2007-05-28 23:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-28 23:21 [PATCH] Fix stupid typo in lookup_tag() Johan Herland

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