diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-07-22 11:24:00 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-07-22 11:24:01 -0700 |
commit | d3aeb31dc410a71ee41b87328f0d71996417294f (patch) | |
tree | c9792a61c95180c0eeb4c85f5c97fbde63aa53d0 /diff.c | |
parent | e9f1a6c189c34a7ea98cbdb92acc677a72a5b4ea (diff) | |
parent | 9c5e6c802cde9881785b7f1b3278b97be4aabd82 (diff) | |
download | git-d3aeb31dc410a71ee41b87328f0d71996417294f.tar.gz |
Merge branch 'nd/const-struct-cache-entry'
* nd/const-struct-cache-entry:
Convert "struct cache_entry *" to "const ..." wherever possible
Diffstat (limited to 'diff.c')
-rw-r--r-- | diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2586,7 +2586,7 @@ void fill_filespec(struct diff_filespec *spec, const unsigned char *sha1, */ static int reuse_worktree_file(const char *name, const unsigned char *sha1, int want_file) { - struct cache_entry *ce; + const struct cache_entry *ce; struct stat st; int pos, len; |