summaryrefslogtreecommitdiff
path: root/write-tree.c
diff options
context:
space:
mode:
authorPetr Baudis <pasky@suse.cz>2005-07-29 09:00:45 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-07-30 00:21:49 (GMT)
commit0b124bb4bf8eafae8a4eae9c1fc44bf63da2e62e (patch)
treeed6d339f657c4d98fb06244941acd4faa90b0d60 /write-tree.c
parente35f9824159bba94eecdf22d198799701ed60940 (diff)
downloadgit-0b124bb4bf8eafae8a4eae9c1fc44bf63da2e62e.zip
git-0b124bb4bf8eafae8a4eae9c1fc44bf63da2e62e.tar.gz
git-0b124bb4bf8eafae8a4eae9c1fc44bf63da2e62e.tar.bz2
[PATCH] Trivial tidyups
Simple whitespace-related tidyups ensuring style consistency. This is carried over from my old git-pb branch. Signed-off-by: Petr Baudis <pasky@ucw.cz> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'write-tree.c')
-rw-r--r--write-tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/write-tree.c b/write-tree.c
index 561a101..2b2c6b7 100644
--- a/write-tree.c
+++ b/write-tree.c
@@ -89,14 +89,14 @@ int main(int argc, char **argv)
int entries = read_cache();
unsigned char sha1[20];
- if (argc==2) {
+ if (argc == 2) {
if (!strcmp(argv[1], "--missing-ok"))
missing_ok = 1;
else
die("unknown option %s", argv[1]);
}
- if (argc>2)
+ if (argc > 2)
die("too many options");
if (entries < 0)