Re: problem with git worktree and git svn

2016-10-13 Thread Eric Wong
Duy Nguyen wrote: > On Thu, Oct 13, 2016 at 8:52 AM, Eric Wong wrote: > > +sub svn_dir { > > + my $git_dir = scalar @_ ? $_[0] : $ENV{GIT_DIR}; > > + my $common = $ENV{GIT_COMMON_DIR} || "$git_dir/commondir"; > > + $git_dir .=

Re: problem with git worktree and git svn

2016-10-13 Thread Duy Nguyen
On Thu, Oct 13, 2016 at 8:52 AM, Eric Wong wrote: > +sub svn_dir { > + my $git_dir = scalar @_ ? $_[0] : $ENV{GIT_DIR}; > + my $common = $ENV{GIT_COMMON_DIR} || "$git_dir/commondir"; > + $git_dir .= '/'.::file_to_s($common) if -e $common; > + my $svn_dir =

Re: problem with git worktree and git svn

2016-10-12 Thread Eric Wong
Stefan Beller wrote: > On Wed, Oct 12, 2016 at 7:45 AM, Mathieu Arnold wrote: > > > I discovered git worktree earlier this week, and I found it a great > > asset to be able to have more than one branch of my worktree accessible > > at the same time... > > >

Re: problem with git worktree and git svn

2016-10-12 Thread Stefan Beller
+cc Duy who knows about worktree, +cc Eric Wong, who knows about git-svn On Wed, Oct 12, 2016 at 7:45 AM, Mathieu Arnold wrote: > Hi, > > I'm a FreeBSD ports developer, and while our main repository is in > Subversion, some of us use git-svn a lot for development. > > I