diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2011-02-08 04:29:09 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-02-08 11:14:25 -0800 |
commit | 09ebad6faeec11c3dbad0bdaf95faed57be5dcba (patch) | |
tree | 0b99f3e776457c30af4953e55e7c7c2eadc85194 /quote.c | |
parent | 0cb6ad3c3d8e9c738686ef8dc6f173f725e509bc (diff) | |
download | git-09ebad6faeec11c3dbad0bdaf95faed57be5dcba.tar.gz |
checkout: split off a function to peel away branchname arg
The code to parse and consume the tree name and "--" in commands such
as "git checkout @{-1} -- '*.c'" is intimidatingly long. Split it out
into a separate function and make it easier to skip on first reading
by making the data it uses and produces more explicit.
No functional change intended.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'quote.c')
0 files changed, 0 insertions, 0 deletions