diff options
author | Jeff King <peff@peff.net> | 2015-05-21 00:15:19 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-05-27 12:37:28 -0700 |
commit | 8ade009c952b2977508d6d88aacc290c645125d2 (patch) | |
tree | 7f4e04ae95acdda25731f7c1522e1ae559e6e960 /builtin/branch.c | |
parent | Git 2.3.8 (diff) | |
download | tgif-8ade009c952b2977508d6d88aacc290c645125d2.tar.xz |
clone: use OPT_STRING_LIST for --reference
Not only does this save us having to implement a custom
callback, but it handles "--no-reference" in the usual way
(to clear the list).
The generic callback does copy the string, which we don't
technically need, but that should not hurt anything.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/branch.c')
0 files changed, 0 insertions, 0 deletions