summaryrefslogtreecommitdiff
path: root/contrib/remotes2config.sh
diff options
context:
space:
mode:
authorLibravatar Thomas Braun <thomas.braun@virtuell-zuhause.de>2016-06-10 12:12:05 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-06-10 11:54:57 -0700
commit7c599e92aaba4a2ef07784858def25ced8512276 (patch)
tree826c6c7a6bbcacd81cab6fa68acdd41876411b28 /contrib/remotes2config.sh
parentcompletion: factor out untracked file modes into a variable (diff)
downloadtgif-7c599e92aaba4a2ef07784858def25ced8512276.tar.xz
completion: add __git_get_option_value helper
This function allows to search the commmand line and config files for an option, long and short, with mandatory value. The function would return e.g. for the command line "git status -uno --untracked-files=all" the result "all" regardless of the config option. Signed-off-by: Thomas Braun <thomas.braun@virtuell-zuhause.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/remotes2config.sh')
0 files changed, 0 insertions, 0 deletions