Skip to content
This repository was archived by the owner on May 22, 2019. It is now read-only.

Better suggestion for wrong git_dir #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

brettp
Copy link

@brettp brettp commented Jun 18, 2011

Refs #7381. If git_dir points to a cloned repo instead of a control dir, don't show an error that sounds like a suggestion to replace the dir with the same dir.

The current error is confusing because "that folder" is ambiguos:

2011-06-16 22:21:14,935 Trac[PyGIT] ERROR: GIT control files missing in '/var/lib/git/Repo'
2011-06-16 22:21:14,935 Trac[PyGIT] ERROR: entry '.git' found in '/var/lib/git/Repo' -- maybe use that folder instead...

…ir, don't show an error that sounds like a suggestion to replace the dir with the same dir.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant