summaryrefslogtreecommitdiff
path: root/usage.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-01-28 09:42:31 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-01-28 10:04:48 (GMT)
commit46e5e69d5f2e8ae87a29953531a3d1bd7cb0292f (patch)
tree878bf8410b8c1142c37b2a8133f73330c55ed8e7 /usage.c
parent717d1462ba0ebc430775eccaae65eb9b8234eb32 (diff)
downloadgit-46e5e69d5f2e8ae87a29953531a3d1bd7cb0292f.zip
git-46e5e69d5f2e8ae87a29953531a3d1bd7cb0292f.tar.gz
git-46e5e69d5f2e8ae87a29953531a3d1bd7cb0292f.tar.bz2
git-blame --porcelain: quote filename in c-style when needed.
Otherwise a pathname that has funny characters such as LF would screw up the parsing programs of the output. Strictly speaking, this is not backward compatible, but the current output for pathnames that have embedded LF and such cannot be sanely parsed anyway, and pathnames that only use characters from the portable pathname character set won't be affected. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'usage.c')
0 files changed, 0 insertions, 0 deletions