diff options
author | 2006-05-03 22:27:33 +1200 | |
---|---|---|
committer | 2006-05-03 22:27:33 +1200 | |
commit | 24e12579fc4d6886d5e62aeab53eefdaeaeaffcd (patch) | |
tree | 2ec7f7dd1d93bd798c531cfd09a65be1e8ba717b /config.c | |
parent | Merge with git://kernel.org/pub/scm/git/git.git (diff) | |
parent | Merge branch 'fix' (diff) | |
download | tgif-24e12579fc4d6886d5e62aeab53eefdaeaeaffcd.tar.xz |
Merge with git://kernel.org/pub/scm/git/git.git
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -60,6 +60,12 @@ static char *parse_value(void) space = 1; continue; } + if (!quote) { + if (c == ';' || c == '#') { + comment = 1; + continue; + } + } if (space) { if (len) value[len++] = ' '; @@ -93,12 +99,6 @@ static char *parse_value(void) quote = 1-quote; continue; } - if (!quote) { - if (c == ';' || c == '#') { - comment = 1; - continue; - } - } value[len++] = c; } } |