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

Re: [PATCH Cogito] Fix cg-log -f behavior

From
MHMarcel Holtmann <marcel@holtmann.org>
Date
May 26, 2005, 21:25 UTC
Message-ID
<1117142741.12036.66.camel@pegasus>
In-Reply-To
<7voeaxae0r.fsf@assigned-by-dhcp.cox.net>
Hi Junio,
Show 17 quoted lines
> MH> I am not sure, because I never tried it. Does it use a different format?
> 
> I am not a Cogito user, but I am a bit wondering if you have
> read what is around what you are modifying.
> 
> 	# List all files for for the initial commit
> 	if [ -z $tree2 ]; then
> 		list_cmd="git-ls-tree $tree1"
> 	else
> 		list_cmd="git-diff-tree -r $tree1 $tree2"
> 	fi
> 	echo
> 	$list_cmd | while read modes type sha1s file; do
> 
> The code you changed is fed by either git-ls-tree or
> git-diff-tree, depending on whether you are talking about
> initial commit.  git-ls-tree gives "mode type sha1 file".
I assumed that both have the same output format.
> This is why I asked Linus about a slight format change for
> git-ls-tree (and git-ls-files) this morning.
To what is it changing?
Regards
Marcel
Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 7 in “Fix cg-log -f behavior”
  1. Fix cg-log -f behaviorMarcel Holtmann, May 26, 2005
  2. Junio C HamanoMay 26, 2005
  3. Marcel HoltmannMay 26, 2005
  4. Junio C HamanoMay 26, 2005
  5. Marcel HoltmannMay 26, 2005
  6. Make ls-* output consistent with diff-* output format.Junio C Hamano, May 26, 2005
  7. Linus TorvaldsMay 26, 2005

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.