Re: disable interactive prompting

2017-10-04 Thread Ernesto Alfonso
push synchronously slows me down, so I have a bash >> alias/function to do this in the background. But when my origin is https, I >> get an undesired interactive prompt. I've tried to disable by >> redirecting stdin: >> >> git push ${REMOTE} ${BRANCH} &>

Re: disable interactive prompting

2017-10-04 Thread Ernesto Alfonso
;> git push ${REMOTE} ${BRANCH} &>/dev/null > >> but I still get an interactive prompt. >> >> Is there a way to either >> >> 1. disable interactive prompting >> 2. programmatically determine whether a git command (or at least a git >> push) would i

Re: disable interactive prompting

2017-10-04 Thread Jeff King
redirecting stdin: > > git push ${REMOTE} ${BRANCH} &>/dev/null > but I still get an interactive prompt. > > Is there a way to either > > 1. disable interactive prompting > 2. programmatically determine whether a git command (or at least a git > push) wou

Re: disable interactive prompting

2017-10-04 Thread Jonathan Nieder
> git push ${REMOTE} ${BRANCH} &>/dev/null > but I still get an interactive prompt. > > Is there a way to either > > 1. disable interactive prompting > 2. programmatically determine whether a git command (or at least a git > push) would interactively prompt You left out an

disable interactive prompting

2017-10-04 Thread Ernesto Alfonso
Hi, Waiting for git-push synchronously slows me down, so I have a bash alias/function to do this in the background. But when my origin is https, I get an undesired interactive prompt. I've tried to disable by redirecting stdin: git push ${REMOTE} ${BRANCH} &>/dev/null