summaryrefslogtreecommitdiff
path: root/shallow.c
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2018-05-15 23:42:20 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-05-16 02:42:03 (GMT)
commit3ee37656ee6e6c2510add974af057a9d02d3cf4a (patch)
tree3534052962268aacc7ca628ccd69339f066d7932 /shallow.c
parent02ba3e1a057aad2d2201dc6ba8f77f2904b07703 (diff)
downloadgit-3ee37656ee6e6c2510add974af057a9d02d3cf4a.zip
git-3ee37656ee6e6c2510add974af057a9d02d3cf4a.tar.gz
git-3ee37656ee6e6c2510add974af057a9d02d3cf4a.tar.bz2
commit: add repository argument to prepare_commit_graft
Add a repository argument to allow the caller of prepare_commit_graft to be more specific about which repository to handle. This is a small mechanical change; it doesn't change the implementation to handle repositories other than the_repository yet. As with the previous commits, use a macro to catch callers passing a repository other than the_repository at compile time. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'shallow.c')
0 files changed, 0 insertions, 0 deletions