builtin/clone: compute checkout metadata for clones
commitdfc8cdc6772a05db4ed64c45df3fe2defdae7eb3
authorbrian m. carlson <bk2204@github.com>
Mon, 16 Mar 2020 18:05:05 +0000 (16 18:05 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Mar 2020 18:37:02 +0000 (16 11:37 -0700)
tree9e6c2fc6a8add4ce73c8d1fc27ab05984464bd27
parent13e7ed6a3a0ecd5d50b7bba2d86ce9d88494fa9b
builtin/clone: compute checkout metadata for clones

When checking out a commit, provide metadata to the filter process
including the ref we're using.

Signed-off-by: brian m. carlson <bk2204@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/clone.c
t/t0021-conversion.sh