git's is_inside_git_dir too strict?
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Mar 6, 2007, 15:41 UTC
- Message-ID
- <fcaeb9bf0703060741l7cbfd0f3ue443730176606db6@mail.gmail.com>
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