Re: Efficient parsing of `status -z` output
- From
Jeff King <peff@peff.net>
- Date
- Mar 9, 2015, 06:49 UTC
- Message-ID
- <20150309064939.GA30819@peff.net>
- In-Reply-To
- <20150309061920.GB27128@peff.net>
On Mon, Mar 09, 2015 at 02:19:20AM -0400, Jeff King wrote:
> We don't turn on copy-detection in "git status" by default (only rename > detection), and I think you are right that there is currently no way to > turn it on manually.
Actually, I take it back. We do break-detection in git-status, which can lead to finding a copy:
$ git init $ seq 1 1000 >file && git add file && git commit -m base $ mv file other $ echo foo >file $ git add . $ git status --short M file C file -> other
-Peff