Git GUI vs interactive post-commit hooks

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git@...>
Date: Monday, May 19, 2008 - 6:48 am

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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Git GUI vs interactive post-commit hooks, Alexander Gladysh, (Mon May 19, 6:48 am)
Re: Git GUI vs interactive post-commit hooks, Björn, (Mon May 19, 9:19 am)
Re: Git GUI vs interactive post-commit hooks, Alex Riesen, (Tue May 20, 6:31 pm)
Re: Git GUI vs interactive post-commit hooks, Björn, (Tue May 20, 7:02 pm)
Re: Git GUI vs interactive post-commit hooks, Alex Riesen, (Thu May 22, 8:53 am)
Re: Git GUI vs interactive post-commit hooks, Björn, (Thu May 22, 11:12 am)
Re: Git GUI vs interactive post-commit hooks, Jeff King, (Tue May 20, 7:16 pm)
Re: Git GUI vs interactive post-commit hooks, Alexander Gladysh, (Mon May 19, 9:42 am)
Re: Git GUI vs interactive post-commit hooks, Björn, (Mon May 19, 10:11 am)