]> git.proxmox.com Git - libgit2.git/commit
Scratch the git_revp_attr configuration of a git_revp
authorShawn O. Pearce <spearce@spearce.org>
Sat, 1 Nov 2008 01:34:02 +0000 (18:34 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Sat, 1 Nov 2008 01:34:02 +0000 (18:34 -0700)
commit3e89665eb6d5ab75051dc59fc8b63316908b19d1
tree13edd1b7d5996a6b1ac38ca113f6fd751bf77827
parent6dafd0566786a417cfe1131ab804b162fcc79d15
Scratch the git_revp_attr configuration of a git_revp

This isn't the best idea I've head.  Pierre Habouzit was suggesting
a technique of assigning a unique integer to each commit and then
allocating storage out of auxiliary pools, using the commit's unique
integer to index into any auxiliary pool in constant time.  This way
both applications and the library can efficiently attach arbitrary
data onto a commit, such as rewritten parents, or flags, and have
them disconnected from the main object hash table.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
src/git_commit.h
src/git_revwalk.c
src/git_revwalk.h