git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG?] "git submodule foreach" when command is ssh
@ 2011-01-05 22:32 Chris Packham
  2011-01-05 22:50 ` Chris Packham
  2011-01-05 23:02 ` Seth Robertson
  0 siblings, 2 replies; 5+ messages in thread
From: Chris Packham @ 2011-01-05 22:32 UTC (permalink / raw)
  To: GIT

Hi All,

I just noticed something odd with "git submodule foreach". I was
running a script to create a backup of each submodule on a server I
have ssh access to. I was surprised to find that git submodule foreach
stopped silently after the first submodule.

A little debugging and I find that

git submodule foreach 'ssh localhost "ls /"' - stops silently after
the first module (note that the command does produce the expected
listing and there is no error about the command failing).

git submodule foreach 'echo foo' - works as expected

Any thoughts as to whats going on?

---
git version 1.7.3.2

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

end of thread, other threads:[~2011-01-05 23:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-05 22:32 [BUG?] "git submodule foreach" when command is ssh Chris Packham
2011-01-05 22:50 ` Chris Packham
2011-01-05 23:03   ` Jeff King
2011-01-05 23:22     ` Chris Packham
2011-01-05 23:02 ` Seth Robertson

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).