diff options
author | Stefan Beller <sbeller@google.com> | 2018-03-28 22:35:29 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-29 16:44:50 (GMT) |
commit | 3b8fb393bc32f8d96c2eb4c89349c864e5c56039 (patch) | |
tree | 98f5dff330383e8f12503faf6e0739c251050b25 /repository.c | |
parent | f793b895fd752e37301702eaff948a40e7c0a4b8 (diff) | |
download | git-3b8fb393bc32f8d96c2eb4c89349c864e5c56039.zip git-3b8fb393bc32f8d96c2eb4c89349c864e5c56039.tar.gz git-3b8fb393bc32f8d96c2eb4c89349c864e5c56039.tar.bz2 |
submodule-config: add repository argument to submodule_from_{name, path}
This enables submodule_from_{name, path} to handle arbitrary repositories.
All callers just pass in the_repository, a later patch will pass in other
repos.
While at it remove the extern key word from the declarations.
Reviewed-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Stefan Beller <sbeller@google.com>
Reviewed-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'repository.c')
0 files changed, 0 insertions, 0 deletions