Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

Re: [PATCH] Unify write_index_file functions

From: Nicolas Pitre <hidden>
Date: 2016-06-15 22:43:13

On Fri, 1 Jun 2007, Dana How wrote:
(2) write_idx_file has a sha1 argument with different in & out meanings,
requiring copies at some call sites.  Should this be 2 separate args?
I think the copy could be avoided entirely.  The pack_file_sha1 array 
doesn't need to have global scope.  The simple sha1[20] array with this 
patch can serve the pack_file_sha1 purpose as well just fine.


Nicolas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help