Re: git-ls-files --unmerged implies --stages: ?

From: Junio C Hamano <junkio@cox.net>
Date: 2006-03-10 05:50:46
Matthias Urlichs <smurf@smurf.noris.de> writes:

> I wonder why git-ls-files --unmerged implies --stages. One nice use case
> for this command is to edit all the conflicting files after a failed
> merge, i.e.
>
> $ vi $(git-ls-files --unmerged)
>
> except I need a pipe to throw out all the cruft in there.

I typically use git diff --name-only for this (yes I probably
need to uniq them out), but you can certainly talk me into
introducing --unmerged --name-only.  If nobody objects, even
making --unmerged independent from --stages might be a sensible
thing to do -- if we do so you would need --unmerged --stages to
get the current behaviour.




-
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 Fri Mar 10 05:51:19 2006

This archive was generated by hypermail 2.1.8 : 2006-03-10 05:52:33 EST