diff options
author | Bernt Hansen <bernt@norang.ca> | 2008-03-14 22:44:13 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-03-15 00:05:18 -0700 |
commit | ac378633f3cae46d2c88255e53ee38a6206d3777 (patch) | |
tree | 1fb186802c6341816009fd7a30d930112b158ac1 /contrib | |
parent | 621ff6759414e2a723f61b6d8fc04b9805eb0c20 (diff) | |
download | git-ac378633f3cae46d2c88255e53ee38a6206d3777.tar.gz git-ac378633f3cae46d2c88255e53ee38a6206d3777.tar.xz |
git-new-workdir: Share SVN meta data between work dirs and the repository
Multiple work dirs with git svn caused each work dir to have its own
stale copy of the SVN meta data in .git/svn
git svn rebase updates commits with git-svn-id: in the repository and
stores the SVN meta data information only in that work dir. Attempting to
git svn rebase in other work dirs for the same branch would fail because
the last revision fetched according to the git-svn-id is greater than the
revision in the SVN meta data for that work directory.
Signed-off-by: Bernt Hansen <bernt@norang.ca>
Acked-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/workdir/git-new-workdir | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/workdir/git-new-workdir b/contrib/workdir/git-new-workdir index 2838546d1..7959eab90 100755 --- a/contrib/workdir/git-new-workdir +++ b/contrib/workdir/git-new-workdir @@ -63,7 +63,7 @@ mkdir -p "$new_workdir/.git" || die "unable to create \"$new_workdir\"!" # create the links to the original repo. explictly exclude index, HEAD and # logs/HEAD from the list since they are purely related to the current working # directory, and should not be shared. -for x in config refs logs/refs objects info hooks packed-refs remotes rr-cache +for x in config refs logs/refs objects info hooks packed-refs remotes rr-cache svn do case $x in */*) |