]> git.ipfire.org Git - thirdparty/git.git/commit - cache.h
[PATCH] Operations on refs
authorDaniel Barkalow <barkalow@iabervon.org>
Mon, 6 Jun 2005 20:31:29 +0000 (16:31 -0400)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 7 Jun 2005 00:09:45 +0000 (17:09 -0700)
commit95fc75129acf14d980bdd56b9b2ee74190f81d91
treed3a6988ffe8b9ae0b554ddb4485ffb0f1cac0dc7
parent451322512f2f72fe07461a8aeae0df4cfce7fda1
[PATCH] Operations on refs

This patch adds code to read a hash out of a specified file under
{GIT_DIR}/refs/, and to write such files atomically and optionally with an
compare and lock.

Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Makefile
cache.h
refs.c [new file with mode: 0644]
refs.h [new file with mode: 0644]
sha1_file.c