[PATCH] diff-tree usage
[git.git] / commit-tree.c
index 352ded1..ac431fe 100644 (file)
@@ -41,7 +41,7 @@ static void add_buffer(char **bufp, unsigned int *sizep, const char *fmt, ...)
        alloc = (size + 32767) & ~32767;
        buf = *bufp;
        if (newsize > alloc) {
-               alloc = (newsize + 32767) & ~32767;   
+               alloc = (newsize + 32767) & ~32767;
                buf = realloc(buf, alloc);
                *bufp = buf;
        }
@@ -135,7 +135,7 @@ int main(int argc, char **argv)
                fprintf(stderr, "Committing initial tree %s\n", argv[1]);
        pw = getpwuid(getuid());
        if (!pw)
-               usage("You don't exist. Go away!");
+               die("You don't exist. Go away!");
        realgecos = pw->pw_gecos;
        len = strlen(pw->pw_name);
        memcpy(realemail, pw->pw_name, len);