My Various Git 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
37e6677
,
adfd533
..
ebb3bed
---
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) {