path: root/http-fetch.c
diff options
authorJunio C Hamano <>2006-06-04 06:59:03 (GMT)
committerJunio C Hamano <>2006-06-04 06:59:03 (GMT)
commitf0679f474a884df13ce032d81dde34175c0fa343 (patch)
tree0301dd2bce3c261b87ce29fbb18c0eb0be6e097c /http-fetch.c
parent731651fe25a7d7a242584e4b85112a610c32a23f (diff)
parent99bd0f555823f3c3868561af33d85864a90a7d9a (diff)
Merge branch 'sp/reflog'
* sp/reflog: fetch.c: do not pass uninitialized lock to unlock_ref(). Test that git-branch -l works. Verify git-commit provides a reflog message. Enable ref log creation in git checkout -b. Create/delete branch ref logs. Include ref log detail in commit, reset, etc. Change order of -m option to update-ref. Correct force_write bug in refs.c Change 'master@noon' syntax to 'master@{noon}'. Log ref updates made by fetch. Force writing ref if it doesn't exist. Added logs/ directory to repository layout. General ref log reading improvements. Fix ref log parsing so it works properly. Support 'master@2 hours ago' syntax Log ref updates to logs/refs/<ref> Convert update-ref to use ref_lock API. Improve abstraction of ref lock/write.
Diffstat (limited to 'http-fetch.c')
1 files changed, 2 insertions, 0 deletions
diff --git a/http-fetch.c b/http-fetch.c
index 178f1ee..661c909 100644
--- a/http-fetch.c
+++ b/http-fetch.c
@@ -1223,6 +1223,7 @@ int main(int argc, char **argv)
int rc = 0;
+ git_config(git_default_config);
while (arg < argc && argv[arg][0] == '-') {
if (argv[arg][1] == 't') {
@@ -1249,6 +1250,7 @@ int main(int argc, char **argv)
commit_id = argv[arg];
url = argv[arg + 1];
+ write_ref_log_details = url;