summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorMartin von Zweigbergk <martinvonz@gmail.com>2013-01-14 21:47:43 -0800
committerJunio C Hamano <gitster@pobox.com>2013-01-15 09:38:08 -0800
commitb489097e1dbff7764e35ee260f8397d62a70fbb5 (patch)
treea0fcc9acc5a49fa834ff6a386059593d5b15b55b /commit.h
parent1ca38f85860b33ddc79b1494baf29aecde8616cd (diff)
downloadgit-b489097e1dbff7764e35ee260f8397d62a70fbb5.tar.gz
reset.c: replace switch by if-else
The switch statement towards the end of reset.c is missing case arms for KEEP and MERGE for no obvious reason, and soon the only non-empty case arm will be the one for HARD. So let's proactively replace it by if-else, which will let us move one if statement out without leaving funny-looking left-overs. Signed-off-by: Martin von Zweigbergk <martinvonz@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions