Re: git rev-parse --show-toplevel doesn't work inside git-dir

2013-06-05 Thread Jeff King
On Wed, Jun 05, 2013 at 10:34:11AM +0300, Orgad Shaneh wrote: > Running "git rev-parse --show-toplevel" doesn't print anything when it > is run inside .git dir (on all levels) This is by design. "--show-toplevel" does not print anything when you do not have a working tree, and you do not have one

git rev-parse --show-toplevel doesn't work inside git-dir

2013-06-05 Thread Orgad Shaneh
Running "git rev-parse --show-toplevel" doesn't print anything when it is run inside .git dir (on all levels) - Orgad -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-inf