Re: Do you use "git-apply --show-files"?

From: Linus Torvalds <torvalds@osdl.org>
Date: 2005-10-17 10:45:24
On Sun, 16 Oct 2005, Junio C Hamano wrote:
>
> As a part of "funny pathname character" updates, I was reviewing
> "apply.c" and have two questions on its "--show-files" flag.
> 
>  * Unlike other informational flags like --stat and --summary,
>    it does not turn off "apply".  Is it intentional? 
> 
>  * Do you (or anybody else) use it, and if so how?

As far as I'm concerned, you can remove it.

The point of show-files was to have the index update be based on the files 
that were updated, it I was originally not planning to updating the index 
directly in git-apply, but instead do something like

	files=$(git-apply --show-files)
	git-update-cache --add --delete -- $files

but it turned out to be a lot easier to just update the index.

So just remove that flag, I doubt it has ever been used.

		Linus
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Oct 17 10:46:23 2005

This archive was generated by hypermail 2.1.8 : 2005-10-17 10:46:26 EST