]> git.ipfire.org Git - thirdparty/git.git/commit - range-diff.c
range-diff: mark pointers as const
authorDenton Liu <liu.denton@gmail.com>
Fri, 6 Dec 2019 20:16:26 +0000 (12:16 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 6 Dec 2019 20:34:49 +0000 (12:34 -0800)
commitf8675343d79058ab5200e93e6c33058e13d7bb43
treed479ad588d5121c780c055faebc22d535dd88a12
parent828765dfe0a4a1baae7fae750cbb6a62fcb32c7a
range-diff: mark pointers as const

The contents pointed to by `diffopt` and `other_arg` should not be
modified. Mark these as `const` to indicate this.

Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
range-diff.c
range-diff.h