bug: git-diff silently fails when run outside of a repository (v1.5.4.2)
- From
- Mike Coleman <tutufan@gmail.com>
- Date
- Apr 29, 2008, 20:04 UTC
- Message-ID
- <3c6c07c20804291304n36976417wf3c2a13303aa3133@mail.gmail.com>
At least in version 1.5.4.2, git-diff silently fails when not run inside a repository. It should give an error diagnostic, especially since "no output" would otherwise be a meaningful response.
I think there are other git programs that have this problem as well.
Mike