fetch: allow refspecs specified through stdin
authorJonathan Tan <jonathantanmy@google.com>
Tue, 18 Aug 2020 04:01:32 +0000 (21:01 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Aug 2020 20:25:05 +0000 (13:25 -0700)
commit2b713c272cd8f9dc70ad746e8ba01a93d8baa023
treebd050f6038a99145d8da0d3321def8bee6394e67
parentcbe566a0710b39691ca8f6cb6a764f6c553cd97b
fetch: allow refspecs specified through stdin

In a subsequent patch, partial clones will be taught to fetch missing
objects using a "git fetch" subprocess. Because the number of objects
fetched may be too numerous to fit on the command line, teach "fetch" to
accept refspecs passed through stdin.

Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-fetch.txt
builtin/fetch.c