diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2011-02-22 22:43:23 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-02-22 16:51:21 -0800 |
commit | 046613c5465e4fc0611f93a5ef31d3815fb50c22 (patch) | |
tree | 6a0246f9f004485eadebd3e709738873a22e17f1 /read-cache.c | |
parent | b3c0494aa9b375033415ab1f815246e79d3d2029 (diff) | |
download | git-046613c5465e4fc0611f93a5ef31d3815fb50c22.tar.gz |
update-index --refresh --porcelain: add missing const
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'read-cache.c')
-rw-r--r-- | read-cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/read-cache.c b/read-cache.c index 4f2e890b01..15b0a73b62 100644 --- a/read-cache.c +++ b/read-cache.c @@ -1104,7 +1104,7 @@ static struct cache_entry *refresh_cache_ent(struct index_state *istate, } static void show_file(const char * fmt, const char * name, int in_porcelain, - int * first, char *header_msg) + int * first, const char *header_msg) { if (in_porcelain && *first && header_msg) { printf("%s\n", header_msg); @@ -1114,7 +1114,7 @@ static void show_file(const char * fmt, const char * name, int in_porcelain, } int refresh_index(struct index_state *istate, unsigned int flags, const char **pathspec, - char *seen, char *header_msg) + char *seen, const char *header_msg) { int i; int has_errors = 0; |