]> git.ipfire.org Git - thirdparty/git.git/commit - revision.c
revision: introduce setup_revision_opt
authorJunio C Hamano <gitster@pobox.com>
Tue, 9 Mar 2010 06:58:09 +0000 (22:58 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 9 Mar 2010 09:11:18 +0000 (01:11 -0800)
commit32962c9bd5149005b163dff230670872eb99286a
tree8bc0322fbc0d51a26a7fb9b6bd2d08f39bdacc30
parent126f431ab61b250deab2b46f933a5bcd35a71c6b
revision: introduce setup_revision_opt

So far the last parameter to setup_revisions() was to specify the default
ref when the command line did not give any (typically "HEAD").  This changes
it to take a pointer to a structure so that we can add other information without
touching too many codepaths in later patches.

There is no functionality change.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-log.c
diff-lib.c
revision.c
revision.h
wt-status.c