diff options
author | Stefan Beller <sbeller@google.com> | 2018-05-17 15:51:43 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-18 08:13:10 +0900 |
commit | 6a2df51c848c86e5620dcdf1a0ee2de637937b77 (patch) | |
tree | e154a0df4bc19db9eb45efa9143d92d2e73601b9 /git-compat-util.h | |
parent | commit: add repository argument to lookup_commit_graft (diff) | |
download | tgif-6a2df51c848c86e5620dcdf1a0ee2de637937b77.tar.xz |
shallow: add repository argument to set_alternate_shallow_file
Add a repository argument to allow callers of set_alternate_shallow_file
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: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-compat-util.h')
0 files changed, 0 insertions, 0 deletions