summaryrefslogtreecommitdiff
path: root/count-delta.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-07-30 07:58:28 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-07-31 18:58:49 (GMT)
commit5da5c8f4cf4fb4e1cbccca4e7cebe70b77cf0b00 (patch)
tree329b5863cdb047fec0633d13bebfdfeb19c21a69 /count-delta.h
parent60036a41e1f25ee3e89142fa92e203dbbc6145cc (diff)
downloadgit-5da5c8f4cf4fb4e1cbccca4e7cebe70b77cf0b00.zip
git-5da5c8f4cf4fb4e1cbccca4e7cebe70b77cf0b00.tar.gz
git-5da5c8f4cf4fb4e1cbccca4e7cebe70b77cf0b00.tar.bz2
Teach parse_commit_buffer about grafting.
Introduce a new file $GIT_DIR/info/grafts (or $GIT_GRAFT_FILE) which is a list of "fake commit parent records". Each line of this file is a commit ID, followed by parent commit IDs, all 40-byte hex SHA1 separated by a single SP in between. The records override the parent information we would normally read from the commit objects, allowing both adding "fake" parents (i.e. grafting), and pretending as if a commit is not a child of some of its real parents (i.e. cauterizing). Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'count-delta.h')
0 files changed, 0 insertions, 0 deletions