Thread (4 messages) flat view 4 messages, 2 authors, 2016-06-15

Re: git-new-workdir not working right?

From: Julian Phillips <hidden>
Date: 2016-06-15 22:46:36

On Tue, 14 Apr 2009, Caleb Cushing wrote:
before I could do git-new-workdir path/to/repo/.git neworkdirname now
that doesn't seem to work... I actually had to cd to path/to/repo/.git
and do git-new-workdir . ../.../neworkdirname to get it to work. it
was complaining that the .git/ wasn't a git repo.

using git 1.6.2.3
Works fine for me.  Are you sure you didn't have a typo in your 
original git-new-workdir invocation?  If so, could you supply:

  1) the complete output of running git-new-workdir
  2) the output of "git rev-parse --git-dir" run in path/to/repo/.git

Also, you shouldn't need to supply the .git, so "git new-workdir 
path/to/repo newworkdirname" should also work, have you tried that?

-- 
Julian

  ---
Linux is addictive, I'm hooked!
 	-- MaDsen Wikholm's .sig
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help