Re: Conflict editing
- From
Brian Gernhardt <benji@silverinsanity.com>
- Date
- Mar 5, 2007, 06:25 UTC
- Message-ID
- <190CCFDA-7BCC-4CC9-81D5-F38B14D8D54D@silverinsanity.com>
- In-Reply-To
- <Pine.LNX.4.63.0703041339350.22628@wbgn013.biozentrum.uni-wuerzburg.de>
On Mar 4, 2007, at 7:43 AM, Johannes Schindelin wrote:
> Of course, this script is dumb and has no way to edit files whose > names > contain spaces
Wouldn't using xargs fix that?
> "${VISUAL:-${EDITOR:-vi}}" $(git ls-files --unmerged | cut -b51- |
> uniq)git ls-files --unmerged | cut -b51- | uniq | xargs "${VISUAL:-$ {EDITOR:-vi}}"
~~ Brian Gernhardt