]> git.ipfire.org Git - thirdparty/git.git/commit - git-svn.perl
git-svn: correctly handle globs with a right-hand-side path component
authorEric Wong <normalperson@yhbt.net>
Sat, 10 Feb 2007 21:28:50 +0000 (13:28 -0800)
committerEric Wong <normalperson@yhbt.net>
Fri, 23 Feb 2007 08:57:12 +0000 (00:57 -0800)
commit74a81227f95b52b1c3f7ac7ba84ac1a6e1708995
tree91b116a474d7bb80cd9628ac5dab8e2ed31c6a38
parent9e3cdbd4f2e02bf63bfaa8f6e2747601f117cf2d
git-svn: correctly handle globs with a right-hand-side path component

Several bugs were found and fixed while getting this to work:

 * Remember the 'R'(eplace) case of actions and treat it like we
   would an 'A'(dd) case.

 * Fix a small case of follow-parent missing a parent if a
   subdirectory was modified in the revision where the parent was
   copied.

 * dirents returned by get_dir sometimes expire if the data
   structure is too big and the pool is destroyed, so we
   cache get_dir (along with check_path and get_revprops)
   temporarily along with its pool.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl
t/t9108-git-svn-glob.sh [new file with mode: 0755]