diff options
author | Junio C Hamano <junkio@cox.net> | 2005-11-30 11:09:33 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-11-30 11:09:33 -0800 |
commit | 9cac9d368934f68e75810df95211a6522d4d139e (patch) | |
tree | 6587296cef3998501dd38886d20e80cfd84342ff /commit-tree.c | |
parent | 5401f3040b61e11da79d676e42aacfa9f1131083 (diff) | |
parent | 99e01692063cc48adee19e1f738472a579c14ca2 (diff) | |
download | git-9cac9d368934f68e75810df95211a6522d4d139e.tar.gz |
Merge branch 'jc/subdir'
Diffstat (limited to 'commit-tree.c')
-rw-r--r-- | commit-tree.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/commit-tree.c b/commit-tree.c index b60299fed0..4634b50e6a 100644 --- a/commit-tree.c +++ b/commit-tree.c @@ -91,6 +91,8 @@ int main(int argc, char **argv) if (argc < 2 || get_sha1_hex(argv[1], tree_sha1) < 0) usage(commit_tree_usage); + setup_git_directory(); + check_valid(tree_sha1, "tree"); for (i = 2; i < argc; i += 2) { char *a, *b; |