diff options
author | brian m. carlson <bk2204@github.com> | 2020-03-16 18:05:04 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-03-16 11:37:02 -0700 |
commit | 13e7ed6a3a0ecd5d50b7bba2d86ce9d88494fa9b (patch) | |
tree | d2c5b1215ca578250aa88dbbeee45310ceb2e3d0 /builtin/remote.c | |
parent | convert: provide additional metadata to filters (diff) | |
download | tgif-13e7ed6a3a0ecd5d50b7bba2d86ce9d88494fa9b.tar.xz |
builtin/checkout: compute checkout metadata for checkouts
Provide commit metadata for checkout code paths that use unpack_trees
and friends. When we're checking out a commit, use the commit
information, but don't provide commit information if we're checking out
from the index, since there need not be any particular commit associated
with the index, and even if there is one, we can't know what it is.
Signed-off-by: brian m. carlson <bk2204@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/remote.c')
0 files changed, 0 insertions, 0 deletions