diff options
author | Junio C Hamano <junkio@cox.net> | 2007-04-17 22:17:29 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-04-17 22:17:29 -0700 |
commit | 17bee1947ac407c0a27f3ef7da573eacb848520e (patch) | |
tree | b30b3390d9ddd04560f921b961678391f65af6f5 /refs.c | |
parent | 2c7801bdd194f33879d32bd109031ee3bf7eb632 (diff) | |
parent | 1401f46bb42d1eb6225a5e08543c06a5b18fd3b7 (diff) | |
download | git-17bee1947ac407c0a27f3ef7da573eacb848520e.tar.gz git-17bee1947ac407c0a27f3ef7da573eacb848520e.tar.xz |
Merge branch 'maint'
* maint:
Use const qualifier for 'sha1' parameter in delete_ref function
Diffstat (limited to 'refs.c')
-rw-r--r-- | refs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -705,7 +705,7 @@ static int repack_without_ref(const char *refname) return commit_lock_file(&packlock); } -int delete_ref(const char *refname, unsigned char *sha1) +int delete_ref(const char *refname, const unsigned char *sha1) { struct ref_lock *lock; int err, i, ret = 0, flag = 0; |