diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-02-06 22:05:27 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-02-06 22:05:28 -0800 |
commit | 3a14fdec88125c4fd093f938cf406231b932e3a2 (patch) | |
tree | 1b67f5143fdd6b3be964a2e57ac65c557d1fe566 /builtin/diff.c | |
parent | Merge branch 'sh/submodule-summary-abbrev-fix' (diff) | |
parent | various: tighten constness of some local variables (diff) | |
download | tgif-3a14fdec88125c4fd093f938cf406231b932e3a2.tar.xz |
Merge branch 'sl/const'
Code cleanup.
* sl/const:
various: tighten constness of some local variables
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 74351a5757..9f6109224b 100644 --- a/builtin/diff.c +++ b/builtin/diff.c @@ -103,7 +103,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); |