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

Re: [PATCH 01/11] refs.c: constify the sha arguments for ref_transaction_create|delete|update

From: Michael Haggerty <hidden>
Date: 2016-06-15 23:00:44

On 04/17/2014 09:46 PM, Ronnie Sahlberg wrote:
ref_transaction_create|delete|update has no need to modify the sha1
arguments passed to it so it should use const unsigned char* instead
of unsigned char*.

Some functions, such as fast_forward_to(), already have its old/new
sha1 arguments as consts. This function will at some point need to
use ref_transaction_update() in which case this change is required.
Good, thanks.

Michael

-- 
Michael Haggerty
mhagger@alum.mit.edu
http://softwareswirl.blogspot.com/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help