diff options
| author | Jeff King <peff@peff.net> | 2016-10-03 16:35:03 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2016-10-10 13:52:36 -0700 |
| commit | a5b34d21521c015cd41ced4a3fdde57d79891eb3 (patch) | |
| tree | 4cd7013288363bdde05efe99985d66c7c8d3a309 /builtin/commit.c | |
| parent | link_alt_odb_entry: refactor string handling (diff) | |
| download | git-a5b34d21521c015cd41ced4a3fdde57d79891eb3.tar.gz git-a5b34d21521c015cd41ced4a3fdde57d79891eb3.zip | |
alternates: provide helper for adding to alternates list
The submodule code wants to temporarily add an alternate
object store to our in-memory alt_odb list, but does it
manually. Let's provide a helper so it can reuse the code in
link_alt_odb_entry().
While we're adding our new add_to_alternates_memory(), let's
document add_to_alternates_file(), as the two are related.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
