clone: implement optional references
authorStefan Beller <sbeller@google.com>
Mon, 15 Aug 2016 21:53:26 +0000 (14:53 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Aug 2016 22:28:45 +0000 (15:28 -0700)
commitf7415b4d71150d5c2d52f87c8792591237aaf00e
treeff28dcf7118ebddb88df8b24b3744c01fbb04e3e
parent5e40800df2ef1045d377f01caccee89c83beffab
clone: implement optional references

In a later patch we want to try to create alternates for submodules,
but they might not exist in the referenced superproject. So add a way
to skip the non existing references and report them.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-clone.txt
builtin/clone.c