Quantcast
Viewing all articles
Browse latest Browse all 5189

git add -p doesn't honor diff.noprefix config

Hi all I set the config diff.noprefix = true because I don't like the a/ and b/ prefixes, which nicely changed the output of `git diff`. Unfortunately, the filenames in the output of `git add --patch` are still prefixed.

Viewing all articles
Browse latest Browse all 5189

Trending Articles