projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix 'git-show-branch --list <head>'
[git.git]
/
read-tree.c
diff --git
a/read-tree.c
b/read-tree.c
index
0d5ded5
..
ce2bb88
100644
(file)
--- a/
read-tree.c
+++ b/
read-tree.c
@@
-17,7
+17,7
@@
static int unpack_tree(unsigned char *sha1)
buffer = read_object_with_reference(sha1, "tree", &size, NULL);
if (!buffer)
return -1;
buffer = read_object_with_reference(sha1, "tree", &size, NULL);
if (!buffer)
return -1;
- ret = read_tree(buffer, size, stage);
+ ret = read_tree(buffer, size, stage
, NULL
);
free(buffer);
return ret;
}
free(buffer);
return ret;
}
@@
-510,7
+510,7
@@
static int read_cache_unmerged(void)
return deleted;
}
return deleted;
}
-static c
har *read_tree_usage
= "git-read-tree (<sha> | -m [-u] <sha1> [<sha2> [<sha3>]])";
+static c
onst char read_tree_usage[]
= "git-read-tree (<sha> | -m [-u] <sha1> [<sha2> [<sha3>]])";
static struct cache_file cache_file;
static struct cache_file cache_file;