From 4a44fdf9d90a537d821c471b1cf1ae6c9e73a2de Mon Sep 17 00:00:00 2001 From: Clayton Walker Date: Thu, 2 Feb 2023 10:00:49 -0700 Subject: Update docs --- git/repo/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git') diff --git a/git/repo/base.py b/git/repo/base.py index a74be215..2fc9cf1f 100644 --- a/git/repo/base.py +++ b/git/repo/base.py @@ -115,7 +115,7 @@ class Repo(object): 'working_dir' is the working directory of the git command, which is the working tree directory if available or the .git directory in case of bare repositories - 'working_tree_dir' is the working tree directory, but will raise AssertionError + 'working_tree_dir' is the working tree directory, but will return None if we are a bare repository. 'git_dir' is the .git repository directory, which is always set.""" -- cgit v1.2.1