git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 2/2] Teach name-rev to identify revisions containing a certain blob

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Feb 18, 2007, 00:04 UTC
Message-ID
<Pine.LNX.4.63.0702180103520.22628@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<7vr6sotzft.fsf@assigned-by-dhcp.cox.net>
Hi,
brown paper bag, please
 builtin-name-rev.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/builtin-name-rev.c b/builtin-name-rev.c
index e4addc7..e79ef1c 100644
--- a/builtin-name-rev.c
+++ b/builtin-name-rev.c
@@ -314,7 +314,7 @@ int cmd_name_rev(int argc, const char **argv, const char *prefix)
 
 			printf("%s", rev_name->tip_name);
 			if (rev_name->generation)
-				printf("^%d", rev_name->generation);
+				printf("~%d", rev_name->generation);
 			printf(":%s\n", obj_name ? obj_name->name : "");
 		}
 		return 0;
Previous: Johannes SchindelinNext: Junio C Hamano
Message 4 of 9 in “Teach name-rev to identify revisions containing a certain blob”
  1. 2/2 Teach name-rev to identify revisions containing a certain blobJohannes Schindelin, Feb 17, 2007
  2. Junio C HamanoFeb 17, 2007
  3. Johannes SchindelinFeb 17, 2007
  4. Johannes SchindelinFeb 18, 2007
  5. Junio C HamanoFeb 17, 2007
  6. Johannes SchindelinFeb 17, 2007
  7. Junio C HamanoFeb 18, 2007
  8. Junio C HamanoFeb 18, 2007
  9. Johannes SchindelinFeb 18, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.