]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/blame.c: constants into bit shift format
authorHariom Verma <hariom18599@gmail.com>
Thu, 17 Oct 2019 17:46:51 +0000 (17:46 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 21 Oct 2019 03:45:51 +0000 (12:45 +0900)
commit86795774bb9ca3c63b94d3d0930405c1ba9148ec
tree567bb859e1975bdbd1c6860027c8fd4a4a5f6d9e
parent5fa0f5238b0cd46cfe7f6fa76c3f526ea98148d9
builtin/blame.c: constants into bit shift format

We are looking at bitfield constants, and elsewhere in the Git source
code, such cases are handled via bit shift operators rather than octal
numbers, which also makes it easier to spot holes in the range
(if, say, 1<<5 was missing, it is easier to spot it between 1<<4
and 1<<6 than it is to spot a missing 040 between a 020 and a 0100).

Signed-off-by: Hariom Verma <hariom18599@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/blame.c