aboutsummaryrefslogtreecommitdiff
path: root/write-tree.c
diff options
context:
space:
mode:
authorPetr Baudis <pasky@suse.cz>2005-07-29 11:00:45 +0200
committerJunio C Hamano <junkio@cox.net>2005-07-29 17:21:49 -0700
commit0b124bb4bf8eafae8a4eae9c1fc44bf63da2e62e (patch)
treeed6d339f657c4d98fb06244941acd4faa90b0d60 /write-tree.c
parente35f9824159bba94eecdf22d198799701ed60940 (diff)
downloadgit-0b124bb4bf8eafae8a4eae9c1fc44bf63da2e62e.tar.gz
git-0b124bb4bf8eafae8a4eae9c1fc44bf63da2e62e.tar.xz
[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 561a101fa..2b2c6b77a 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)