projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
9a6682b
272459a
)
Merge branch 'en/maint-hash-object' into maint
author
Junio C Hamano
<gitster@pobox.com>
Wed, 11 Mar 2009 20:51:59 +0000
(13:51 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 11 Mar 2009 20:51:59 +0000
(13:51 -0700)
* en/maint-hash-object:
Ensure proper setup of git_dir for git-hash-object
Conflicts:
hash-object.c
1
2
hash-object.c
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
hash-object.c
index 37e66779ab9e14dbe5b5416d0e19b04d7f122d52,adfd5336a31412681415c47d2420aba8ed299ae3..ebb3bedb074202a29e2356845012bd1ffae0dc19
---
1
/
hash-object.c
---
2
/
hash-object.c
+++ b/
hash-object.c
@@@
-82,10
-81,6
+82,8
@@@
int main(int argc, const char **argv
type = blob_type;
- git_config(git_default_config, NULL);
-
+ git_extract_argv0_path(argv[0]);
+
argc = parse_options(argc, argv, hash_object_options, hash_object_usage, 0);
if (write_object) {