diff options
Diffstat (limited to 'internal/git/localrepo/paths.go')
-rw-r--r-- | internal/git/localrepo/paths.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/git/localrepo/paths.go b/internal/git/localrepo/paths.go index 0c6e32ada..553f150f2 100644 --- a/internal/git/localrepo/paths.go +++ b/internal/git/localrepo/paths.go @@ -24,7 +24,7 @@ func (repo *Repo) ObjectDirectoryPath() (string, error) { objectDirectoryPath := repo.GetGitObjectDirectory() if objectDirectoryPath == "" { - return "", helper.ErrInvalidArgumentf("object directory path is not set") + objectDirectoryPath = "objects" } // We need to check whether the relative object directory as given by the repository is |