diff options
author | Junio C Hamano <junkio@cox.net> | 2006-06-03 23:59:03 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-06-03 23:59:03 -0700 |
commit | f0679f474a884df13ce032d81dde34175c0fa343 (patch) | |
tree | 0301dd2bce3c261b87ce29fbb18c0eb0be6e097c /ssh-fetch.c | |
parent | Merge branch 'ff/svnimport' (diff) | |
parent | fetch.c: do not pass uninitialized lock to unlock_ref(). (diff) | |
download | tgif-f0679f474a884df13ce032d81dde34175c0fa343.tar.xz |
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 'ssh-fetch.c')
-rw-r--r-- | ssh-fetch.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ssh-fetch.c b/ssh-fetch.c index 4eb9e04829..e3067b878e 100644 --- a/ssh-fetch.c +++ b/ssh-fetch.c @@ -132,6 +132,7 @@ int main(int argc, char **argv) if (!prog) prog = "git-ssh-upload"; setup_git_directory(); + git_config(git_default_config); while (arg < argc && argv[arg][0] == '-') { if (argv[arg][1] == 't') { @@ -158,6 +159,7 @@ int main(int argc, char **argv) } commit_id = argv[arg]; url = argv[arg + 1]; + write_ref_log_details = url; if (setup_connection(&fd_in, &fd_out, prog, url, arg, argv + 1)) return 1; |