Re: git commit/push can fail silently when clone omits ".git"

2012-11-09 Thread Heiko Voigt
Hi, On Thu, Nov 08, 2012 at 01:56:43PM -0500, Jeff King wrote: > Unfortunately, the patch below which does that seems to make t7407 very > unhappy. It looks like the submodule test uses "git clone ." and > "git-submodule add" expects the "/." to still be at the end of the > configured URL when pro

Re: git commit/push can fail silently when clone omits ".git"

2012-11-08 Thread Jeff King
On Sun, Nov 04, 2012 at 12:50:58PM -0700, Jeffrey S. Haemer wrote: > I got bitten by what follows. Yes, it's an edge case. Yes I now understand > why it does what it does. Yes the right answer is "Don't do that, Jeff." :-) > > Still, it took me a little time to figure out what I'd done wrong beca

git commit/push can fail silently when clone omits ".git"

2012-11-04 Thread Jeffrey S. Haemer
Ladies and Gentlemen, I'm running git 1.7.9.5 on Ubuntu 12.04.1 LTS I got bitten by what follows. Yes, it's an edge case. Yes I now understand why it does what it does. Yes the right answer is "Don't do that, Jeff." :-) Still, it took me a little time to figure out what I'd done wrong because th