diff options
| author | Brandon Williams <bmwill@google.com> | 2018-05-16 15:57:52 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2018-05-18 06:19:42 +0900 |
| commit | c8fa9efe3a8765f44eacc5b0e114053a0297dfff (patch) | |
| tree | 7aa5b896ab8021b31b418d256a0fe5d7c81e0b87 /builtin/commit-tree.c | |
| parent | refspec: introduce struct refspec (diff) | |
| download | git-c8fa9efe3a8765f44eacc5b0e114053a0297dfff.tar.gz git-c8fa9efe3a8765f44eacc5b0e114053a0297dfff.zip | |
refspec: convert valid_fetch_refspec to use parse_refspec
Convert 'valid_fetch_refspec()' to use the new 'parse_refspec()'
function to only parse a single refspec and eliminate an allocation.
Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-tree.c')
0 files changed, 0 insertions, 0 deletions
