diff options
author | Stefan Beller <sbeller@google.com> | 2018-04-11 17:21:11 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-04-12 11:38:56 +0900 |
commit | fe6d34d863a351034cbc7c756465f84dc64007ad (patch) | |
tree | 3545f15586ffa632d42b86d4a888535cc34d4824 /builtin/worktree.c | |
parent | refs: add repository argument to for_each_replace_ref (diff) | |
download | tgif-fe6d34d863a351034cbc7c756465f84dc64007ad.tar.xz |
replace-object: add repository argument to prepare_replace_object
Add a repository argument to allow the prepare_replace_object caller
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 'builtin/worktree.c')
0 files changed, 0 insertions, 0 deletions