possible completion bug with --set-upstream-to=

2017-12-29 Thread Ernesto Alfonso
Whenever I type the last to complete origin/master, as in below: > git branch --set-upstream-to=orig what I get is: > git branch origin/master instead of the expected: > git branch --set-upstream-to=origin/master git version and OS: >git version 2.1.4 > >Distributor ID:Debian

Re: disable interactive prompting

2017-10-04 Thread Ernesto Alfonso
suggest adding a hint in "git help". I also don't seem have the GIT_TERMINAL_PROMPT in "git version 1.8.3.1" but I can fix this. Thanks, Ernesto Jeff King <p...@peff.net> writes: > On Wed, Oct 04, 2017 at 09:10:48AM -0700, Ernesto Alfonso wrote: > &

Re: disable interactive prompting

2017-10-04 Thread Ernesto Alfonso
&>/dev/null < /dev/null; LAST=$?; test 0 -eq $LAST > || echo "gpom failed with $LAST !"; } > Password for 'https://asd,c...@github.com': > gpom failed with 128 ! > $ Thanks, Ernesto Jonathan Nieder <jrnie...@gmail.com> writes: > Hi Ernesto, > >

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

Re: git apply fails silently when on the wrong directory

2017-09-26 Thread Ernesto Alfonso
Also, has there been a feature request for a '-w' option to 'git add', analogous to the same option in 'git diff'? Ernesto Alfonso <erjoa...@gmail.com> writes: > I recently ran into a similar issue as described here: > > https://stackoverflow.com/questions/24821431/git-apply-patch

git apply fails silently when on the wrong directory

2017-09-26 Thread Ernesto Alfonso
I recently ran into a similar issue as described here: https://stackoverflow.com/questions/24821431/git-apply-patch-fails-silently-no-errors-but-nothing-happens I was using the alias: alias ganw='git diff -U0 -w --no-color "$@" | git apply --cached --ignore-whitespace --unidiff-zero -' to