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

Re: [PATCH 1/4] add mode parameter to get_sha1

From: Alex Riesen <hidden>
Date: 2016-06-15 22:43:06

Martin Koegler, Sat, Apr 21, 2007 14:26:17 +0200:
If the mode parameter is not NULL, get_sha1 will store
the mode of the object in it.
It looks like the number of call sites which actually use the
argument is vanishingly small compared to the number of sites
where it is set to NULL. Why don't you introduce a new function
instead, say get_sha1_and_mode, and use it for this two or three
places?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help