summaryrefslogtreecommitdiff
path: root/Documentation/git-sh-setup.txt
diff options
context:
space:
mode:
authorLibravatar Andy Whitcroft <apw@shadowen.org>2006-09-20 17:37:04 +0100
committerLibravatar Junio C Hamano <junkio@cox.net>2006-09-20 10:21:46 -0700
commit1f24c58724a64e7b100ae8d8e0318c9e564df88b (patch)
tree377899388ab1b981873ac8d34d9e818290393f06 /Documentation/git-sh-setup.txt
parentAdd git-for-each-ref: helper for language bindings (diff)
downloadtgif-1f24c58724a64e7b100ae8d8e0318c9e564df88b.tar.xz
cvsimport: move over to using git-for-each-ref to read refs.
cvsimport opens all of the files in $GIT_DIR/refs/heads and reads out the sha1's in order to work out what time the last commit on that branch was made (in CVS) thus allowing incremental updates. However, this takes no account of hierachical refs naming producing the following error for each directory in $GIT_DIR/refs: Use of uninitialized value in chomp at /usr/bin/git-cvsimport line 503. Use of uninitialized value in concatenation (.) or string at /usr/bin/git-cvsimport line 505. usage: git-cat-file [-t|-s|-e|-p|<type>] <sha1> Take advantage of the new packed refs work to use the new for-each-ref iterator to get this information. Signed-off-by: Andy Whitcroft <apw@shadowen.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-sh-setup.txt')
0 files changed, 0 insertions, 0 deletions