summaryrefslogtreecommitdiff
path: root/ref-filter.h
diff options
context:
space:
mode:
authorLibravatar Felipe Contreras <felipe.contreras@gmail.com>2021-05-31 14:51:14 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-06-02 10:12:01 +0900
commit04159fba42b61ffa954dfb1fa13df1862c210ad8 (patch)
tree1d125e46b967b87a1b7422ef8d3f2182c512cea6 /ref-filter.h
parentpush: return immediately in trivial switch case (diff)
downloadtgif-04159fba42b61ffa954dfb1fa13df1862c210ad8.tar.xz
push: split switch cases
We want all the cases that don't do anything with a branch first, and then the rest. That way we will be able to get the branch and die if there's a problem in the parent function, instead of inside the function of each mode. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ref-filter.h')
0 files changed, 0 insertions, 0 deletions