summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-01-18 21:49:52 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-01-18 21:49:52 (GMT)
commit3434569fc206c2f4bc434571d202f2961aa905e5 (patch)
tree87899124d519d771b5b4c15a779ae594ef44d801 /git.c
parente07074d3f0f0efcb6cef30dc603d75c595942431 (diff)
parent3b3357626edc841a51d8885ddf6986bab5b6f778 (diff)
downloadgit-3434569fc206c2f4bc434571d202f2961aa905e5.zip
git-3434569fc206c2f4bc434571d202f2961aa905e5.tar.gz
git-3434569fc206c2f4bc434571d202f2961aa905e5.tar.bz2
Merge branch 'nd/style-opening-brace'
Code clean-up. * nd/style-opening-brace: style: the opening '{' of a function is in a separate line
Diffstat (limited to 'git.c')
-rw-r--r--git.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/git.c b/git.c
index 4d53a3d..0ce0e13 100644
--- a/git.c
+++ b/git.c
@@ -98,7 +98,8 @@ static int list_cmds(const char *spec)
return 0;
}
-static void commit_pager_choice(void) {
+static void commit_pager_choice(void)
+{
switch (use_pager) {
case 0:
setenv("GIT_PAGER", "cat", 1);