Thread (1 message) 1 message, 1 author, 2016-06-15

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

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:47

Theodore Tso [off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help