summaryrefslogtreecommitdiff
path: root/bisect.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-12-09 10:25:21 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-12-10 06:41:09 (GMT)
commit3b3357626edc841a51d8885ddf6986bab5b6f778 (patch)
treec28a424e00c4fc8ca7656be02e2951396d91f9ad /bisect.c
parent5d826e972970a784bd7a7bdf587512510097b8c7 (diff)
downloadgit-3b3357626edc841a51d8885ddf6986bab5b6f778.zip
git-3b3357626edc841a51d8885ddf6986bab5b6f778.tar.gz
git-3b3357626edc841a51d8885ddf6986bab5b6f778.tar.bz2
style: the opening '{' of a function is in a separate line
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'bisect.c')
-rw-r--r--bisect.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bisect.c b/bisect.c
index 487675c..bd140cd 100644
--- a/bisect.c
+++ b/bisect.c
@@ -558,7 +558,8 @@ struct commit_list *filter_skipped(struct commit_list *list,
* is increased by one between each call, but that should not matter
* for this application.
*/
-static unsigned get_prn(unsigned count) {
+static unsigned get_prn(unsigned count)
+{
count = count * 1103515245 + 12345;
return (count/65536) % PRN_MODULO;
}