diff options
author | Shahzad Lone <shahzadlone@gmail.com> | 2019-02-02 23:16:45 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-02-04 09:57:10 -0800 |
commit | 33de80b1d50773f79e380eff33b4fc5c8ae1dd25 (patch) | |
tree | 8f0e4f65315b789213e1d806fb4dbdae81e87804 /builtin/diff.c | |
parent | Fourth batch after 2.20 (diff) | |
download | tgif-33de80b1d50773f79e380eff33b4fc5c8ae1dd25.tar.xz |
various: tighten constness of some local variables
Signed-off-by: Shahzad Lone <shahzadlone@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/diff.c')
-rw-r--r-- | builtin/diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/diff.c b/builtin/diff.c index f0393bba23..84a362ff56 100644 --- a/builtin/diff.c +++ b/builtin/diff.c @@ -102,7 +102,7 @@ static int builtin_diff_blobs(struct rev_info *revs, int argc, const char **argv, struct object_array_entry **blob) { - unsigned mode = canon_mode(S_IFREG | 0644); + const unsigned mode = canon_mode(S_IFREG | 0644); if (argc > 1) usage(builtin_diff_usage); |