author | Junio C Hamano <gitster@pobox.com> | |
Thu, 5 Mar 2009 23:58:42 +0000 (15:58 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 5 Mar 2009 23:58:42 +0000 (15:58 -0800) |
* en/maint-hash-object:
Ensure proper setup of git_dir for git-hash-object
Conflicts:
hash-object.c
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
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) {