projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Properly git-bisect reset after bisecting from non-master head
[git.git]
/
commit-tree.c
diff --git
a/commit-tree.c
b/commit-tree.c
index
ea0fdd4
..
b1c8dca
100644
(file)
--- a/
commit-tree.c
+++ b/
commit-tree.c
@@
-5,9
+5,6
@@
*/
#include "cache.h"
-#include <pwd.h>
-#include <time.h>
-
#define BLOCKING (1ul << 14)
/*
@@
-89,6
+86,8
@@
int main(int argc, char **argv)
unsigned int size;
setup_ident();
+ setup_git_directory();
+
git_config(git_default_config);
if (argc < 2 || get_sha1_hex(argv[1], tree_sha1) < 0)