git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Git 1.8.4.2: 'git-rev-parse --is-inside-git-dir' wrong output!
@ 2013-11-01 23:19 Ville Walveranta
  2013-11-02 10:24 ` Øystein Walle
  2013-11-02 10:58 ` John Keeping
  0 siblings, 2 replies; 9+ messages in thread
From: Ville Walveranta @ 2013-11-01 23:19 UTC (permalink / raw)
  To: git

"git-rev-parse --is-inside-git-dir" outputs "fatal: Not a git
repository (or any of the parent directories): .git", instead of
"false" when outside of a git directory.  "--is-inside-work-tree"
behaves the same way. Both commands work correctly (i.e. output
"true") when inside a git directory, or inside a work tree,
respectively.

To test, I installed git 1.8.4.2 initially from
https://launchpad.net/~git-core/+archive/ppa for Ubuntu 12.04.3, and
then also compiled it from source, but both seem to behave the same
way. The problem is not yet present in version 1.7.9.5.

Thanks,

Ville Walveranta

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-11-02 22:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-01 23:19 Git 1.8.4.2: 'git-rev-parse --is-inside-git-dir' wrong output! Ville Walveranta
2013-11-02 10:24 ` Øystein Walle
2013-11-02 10:58 ` John Keeping
2013-11-02 13:47   ` Philip Oakley
2013-11-02 14:06     ` John Keeping
2013-11-02 17:03       ` Philip Oakley
2013-11-02 19:42         ` Ville Walveranta
2013-11-02 20:20           ` John Keeping
2013-11-02 22:58             ` Ville Walveranta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).