git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Git GUI vs interactive post-commit hooks
@ 2008-05-19 10:48 Alexander Gladysh
  2008-05-19 13:19 ` Björn Steinbrink
  0 siblings, 1 reply; 9+ messages in thread
From: Alexander Gladysh @ 2008-05-19 10:48 UTC (permalink / raw)
  To: git

Hi, list!

$ git --version
git version 1.5.5.1

I have a post-commit hook which does backups for me:

  username=agladysh
  for name in `git branch | cut -b3-`
  do
    remote=$username-$name
    echo pushing $name as $remote
    git push backup +$name:refs/heads/$remote
  done

The backup repo is behind ssh. Recently I have put password on my ssh
key and post-commit hook ask me for password once for each branch.
This makes unhappy commit process from Git GUI -- after I shut it
down, there are multiple ssh key password prompts in the shell from
where I launched it, and it does not display any input I enter.

Any advice? I do want to input password for my key each time I use it.

Thanks in advance,
Alexander.

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

end of thread, other threads:[~2008-05-22 15:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-19 10:48 Git GUI vs interactive post-commit hooks Alexander Gladysh
2008-05-19 13:19 ` Björn Steinbrink
2008-05-19 13:42   ` Alexander Gladysh
2008-05-19 14:11     ` Björn Steinbrink
2008-05-20 22:31   ` Alex Riesen
2008-05-20 23:02     ` Björn Steinbrink
2008-05-20 23:16       ` Jeff King
2008-05-22 12:53       ` Alex Riesen
2008-05-22 15:12         ` Björn Steinbrink

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