diff options
author | Junio C Hamano <junkio@cox.net> | 2006-04-15 23:46:36 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-04-15 23:46:36 -0700 |
commit | 6b9c58f4669b3832ed2830f0cb1a307ea6bc6063 (patch) | |
tree | c245781ec9db1307e82a6b5a7cbc0e4f4c89c6fc /http-push.c | |
parent | 8c1f0b44c59530dea8007a9f5b69d0fac6aea3b1 (diff) | |
download | git-6b9c58f4669b3832ed2830f0cb1a307ea6bc6063.tar.gz |
Split init_revisions() out of setup_revisions()
Merging all three option parsers related to whatchanged is
unarguably the right thing, but the fallout was too big to scare
me away. Let's try it once again, but once step at time.
This splits out init_revisions() call from setup_revisions(), so
that the callers can set different defaults to match the
traditional benaviour.
The rev-list command is still broken in a big way, which is the
topic of next step.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'http-push.c')
-rw-r--r-- | http-push.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/http-push.c b/http-push.c index 19a0f772e7..4a9dcf2bf6 100644 --- a/http-push.c +++ b/http-push.c @@ -2498,6 +2498,7 @@ int main(int argc, char **argv) commit_argv[3] = old_sha1_hex; commit_argc++; } + init_revisions(&revs); setup_revisions(commit_argc, commit_argv, &revs, NULL); free(new_sha1_hex); if (old_sha1_hex) { |