Code

Use const qualifier for 'sha1' parameter in delete_ref function
authorCarlos Rica <jasampler@gmail.com>
Wed, 18 Apr 2007 03:34:34 +0000 (05:34 +0200)
committerJunio C Hamano <junkio@cox.net>
Wed, 18 Apr 2007 05:00:18 +0000 (22:00 -0700)
commit1401f46bb42d1eb6225a5e08543c06a5b18fd3b7
treebd3b43ebc26280bcddc31e59d7cd0351c150e14d
parentab6029415b7e8acbc1beff7363c74bb94c3f0d9d
Use const qualifier for 'sha1' parameter in delete_ref function

delete_ref function does not change the 'sha1' parameter. Non-const pointer
causes a compiler warning if you call to the function using a const argument.

Signed-off-by: Carlos Rica <jasampler@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
cache.h
refs.c