diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-10-30 12:10:06 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-10-30 12:10:06 -0700 |
commit | 0bfc7c10d865697cc59081a4bc55a3add4958be0 (patch) | |
tree | d73eda3413bed427be382df53d172de761e0b544 /archive.c | |
parent | Merge branch 'jc/upload-pack-send-symref' (diff) | |
parent | block-sha1/sha1.c: have SP around arithmetic operators (diff) | |
download | tgif-0bfc7c10d865697cc59081a4bc55a3add4958be0.tar.xz |
Merge branch 'fc/styles'
C coding style fixes.
* fc/styles:
block-sha1/sha1.c: have SP around arithmetic operators
base85.c: have SP around arithmetic operators
archive.c: have SP around arithmetic operators
alloc.c: have SP around arithmetic operators
abspath.c: have SP around arithmetic operators
alias: have SP around arithmetic operators
C: have space around && and || operators
Diffstat (limited to 'archive.c')
-rw-r--r-- | archive.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -440,7 +440,7 @@ static int match_extension(const char *filename, const char *ext) * prefix is non-empty (k.e., we don't match .tar.gz with no actual * filename). */ - if (prefixlen < 2 || filename[prefixlen-1] != '.') + if (prefixlen < 2 || filename[prefixlen - 1] != '.') return 0; return !strcmp(filename + prefixlen, ext); } |