You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was looking for a way to get a local repositories root directory from a python source inside this repository. I can discover the repository with 'discover', but there is no documentation (or I was unable to find it) for the 'path' attribute, eventually holding the information in question.
Related to this, as a long-time git user the terms 'control directory' and 'common directory' are not quite self-explanatory to me. Some short remark in the documentation would make this clear.
The text was updated successfully, but these errors were encountered:
On Thu, Mar 18, 2021 at 06:10:50PM -0700, Michael wrote:
@ALL
I was looking for a way to get a local repositories root directory from a python source inside this repository. I can discover the repository with 'discover', but there is no documentation (or I was unable to find it) for the 'path' attribute, eventually holding the information in question.
Related to this, as a long-time git user the terms 'control directory' and 'common directory' are not quite self-explanatory to me. Some short remark in the documentation would make this clear.
"common directory" is a term used by git itself as well - see e.g. the
GIT_COMMON_DIR variable in git(1). The "control directory" is what is
commonly referred to as "git directory" in Git itself.
"path" is set to the top-level directory for the repository - i.e. the
.git directory for a bare repository and the working directory
otherwise.
A pull request to improve the docs would be great.
Hi,
I was looking for a way to get a local repositories root directory from a python source inside this repository. I can discover the repository with 'discover', but there is no documentation (or I was unable to find it) for the 'path' attribute, eventually holding the information in question.
Related to this, as a long-time git user the terms 'control directory' and 'common directory' are not quite self-explanatory to me. Some short remark in the documentation would make this clear.
The text was updated successfully, but these errors were encountered: