summaryrefslogtreecommitdiff
path: root/t/t1412-reflog-loop.sh
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2014-01-15 03:26:33 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-01-15 12:38:30 -0800
commita39c14af82e973ba1502888e89585b7501721ede (patch)
treeab15945e861ee38c7340afcf077f42056dce520c /t/t1412-reflog-loop.sh
parentGit 1.8.5.3 (diff)
downloadtgif-a39c14af82e973ba1502888e89585b7501721ede.tar.xz
interpret_branch_name: factor out upstream handling
This function checks a few different @{}-constructs. The early part checks for and dispatches us to helpers for each construct, but the code for handling @{upstream} is inline. Let's factor this out into its own function. This makes interpret_branch_name more readable, and will make it much simpler to further refactor the function in future patches. While we're at it, let's also break apart the refactored code into a few helper functions. These will be useful if we eventually implement similar @{upstream}-like constructs. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1412-reflog-loop.sh')
0 files changed, 0 insertions, 0 deletions