Re: [PATCH] diff: add a 'path' meta header for non-renames and non-copies
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 3, 2010, 07:30 UTC
- Message-ID
- <7viq75tpaw.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1272868072-12120-1-git-send-email-bert.wesarg@googlemail.com>
Sorry, but none of these configuration variables are acceptable as-is.
Many scripts (the ones shipped with core-git, in contrib, or written by users) depend on their invocation of "git diff-*" family without any funny command line arguments like --no-prefix nor --src-prefix to produce a patch that can be applied without giving a custom -p value to "git apply".
Letting the user break that promise is already bad, and not giving the scripts any way to protect themselves from these configuration variables by overriding from the command line makes these doubly bad ideas.