projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'fixes'
[git.git]
/
quote.c
diff --git
a/quote.c
b/quote.c
index
357f81a
..
92e07f0
100644
(file)
--- a/
quote.c
+++ b/
quote.c
@@
-75,8
+75,8
@@
int quote_c_style(const char *name, char *outbuf, FILE *outfp, int no_dq)
EMIT('"');
for (sp = name; (ch = *sp++); ) {
EMIT('"');
for (sp = name; (ch = *sp++); ) {
- if ((ch <
= ' ') || (ch == '"
') ||
- (ch ==
'\\') || (ch ==
0177)) {
+ if ((ch <
' ') || (ch == '"') || (ch == '\\
') ||
+ (ch == 0177)) {
needquote = 1;
switch (ch) {
case '\a': EMITQ(); ch = 'a'; break;
needquote = 1;
switch (ch) {
case '\a': EMITQ(); ch = 'a'; break;