diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-03-14 14:26:29 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-03-14 14:26:29 -0700 |
commit | 060be00621dbac572ac71d07ae40884e0d4303f3 (patch) | |
tree | e5d302b4ba8d1b8a9d526cc50c2e019c4f0daf36 /http.c | |
parent | 85ff22e68be43254dc6a39ae243c056959f0686e (diff) | |
parent | d40d535b892bf6991811f94ee91f459fc3ea2648 (diff) | |
download | git-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]; |