Re: [PATCH Cogito] Fix cg-log -f behavior
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