builtin/clone: compute checkout metadata for clones
authorbrian m. carlson <redacted>
Mon, 16 Mar 2020 18:05:05 +0000 (18:05 +0000)
committerJunio C Hamano <redacted>
Mon, 16 Mar 2020 18:37:02 +0000 (11:37 -0700)
commitdfc8cdc6772a05db4ed64c45df3fe2defdae7eb3
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/clone.c
t/t0021-conversion.sh
git clone https://git.99rst.org/PROJECT