git's is_inside_git_dir too strict?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nguyen Thai Ngoc Duy
Date: Tuesday, March 6, 2007 - 8:41 am

Hi,

I have a working directory separated from its git repository. When I
work on this directory, I specify --git-dir argument (actually all
happens in script so I don't have to type that much). It used to work
but no longer since git 1.5.0. Complaints include "cannot be used
without a working tree" and "This operation must be run in a work
tree". Can I have the former behaviour back in some ways?
-- 
Duy
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git's is_inside_git_dir too strict?, Nguyen Thai Ngoc Duy, (Tue Mar 6, 8:41 am)
Re: git's is_inside_git_dir too strict?, Johannes Schindelin, (Tue Mar 6, 2:46 pm)
Re: git's is_inside_git_dir too strict?, Nguyen Thai Ngoc Duy, (Wed Mar 7, 5:17 am)
Re: git's is_inside_git_dir too strict?, Shawn O. Pearce, (Wed Mar 7, 8:53 am)
Re: git's is_inside_git_dir too strict?, Nguyen Thai Ngoc Duy, (Wed Mar 7, 9:12 am)
Re: git's is_inside_git_dir too strict?, Matthias Lederhofer, (Fri Mar 9, 5:00 am)
Re: git's is_inside_git_dir too strict?, Junio C Hamano, (Fri Mar 9, 6:11 pm)
Re: git's is_inside_git_dir too strict?, Nguyen Thai Ngoc Duy, (Sat Mar 10, 4:49 am)