On my remote git server, I have a pre-receive hook that will check-in (commit) into a clearcase repository using rcleartool's non-interactive command. What I'm working on is essentially a git to clearcase bridge. Unfortunately, this commit command requires a username and password as arguments. Ideally, I would like the client to be prompted for the username and password when the git-push command is invoked, which will then be passed into the clearcase commit command. However, the docs for git-push state that I can only echo messages back to the client, thus it looks like I cannot prompt the user for input.
Does anyone know of a way around this?
Has anyone tried something to make git-push seem interactive and succeed?
Any help would be grateful.