Re: What commands can and can not be used with bare repositories?

From: Junio C Hamano <junkio@cox.net>
Date: 2006-12-31 16:52:53
Theodore Tso <tytso@mit.edu> writes:

> That makes sense, although the hueristic for determining whether or
> not "." is a Git repository might be a little interesting.  Say, if
> there is no containing directory which has a .git directory, and the
> directories "objects", "info", and "refs" are present?

We have something called is_bare_git_dir() that does much
simpler and hacky check.

See my other message to Shawn regarding tradeoffs between
possible improvements and backward compatibility.

-
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
Received on Sun Dec 31 16:53:32 2006

This archive was generated by hypermail 2.1.8 : 2006-12-31 16:54:49 EST