summaryrefslogtreecommitdiff
path: root/http.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-03-14 14:26:29 -0700
committerJunio C Hamano <gitster@pobox.com>2014-03-14 14:26:29 -0700
commit060be00621dbac572ac71d07ae40884e0d4303f3 (patch)
treee5d302b4ba8d1b8a9d526cc50c2e019c4f0daf36 /http.c
parent85ff22e68be43254dc6a39ae243c056959f0686e (diff)
parentd40d535b892bf6991811f94ee91f459fc3ea2648 (diff)
downloadgit-060be00621dbac572ac71d07ae40884e0d4303f3.tar.gz
Merge branch 'mh/object-code-cleanup'
* mh/object-code-cleanup: sha1_file.c: document a bunch of functions defined in the file sha1_file_name(): declare to return a const string find_pack_entry(): document last_found_pack replace_object: use struct members instead of an array
Diffstat (limited to 'http.c')
-rw-r--r--http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/http.c b/http.c
index 1212c587af..94e1afdee7 100644
--- a/http.c
+++ b/http.c
@@ -1390,7 +1390,7 @@ struct http_object_request *new_http_object_request(const char *base_url,
unsigned char *sha1)
{
char *hex = sha1_to_hex(sha1);
- char *filename;
+ const char *filename;
char prevfile[PATH_MAX];
int prevlocal;
char prev_buf[PREV_BUF_SIZE];