[PATCH v2 3/4] diff: use skip_to_optional_val()

2017-12-04 Thread Christian Couder
From: Christian Couder Let's simplify diff option parsing using skip_to_optional_val(). Signed-off-by: Christian Couder --- diff.c | 29 ++--- 1 file changed, 10 insertions(+), 19 deletions(-) diff --git a/diff.c

Re: [RFE] Inverted sparseness

2017-12-04 Thread Philip Oakley
From: "Randall S. Becker" :December 03, 2017 11:44 PM On December 3, 2017 6:14 PM, Philip Oakley wrote a nugget of wisdom: From: "Randall S. Becker" Sent: Friday, December 01, 2017 6:31 PM On December 1, 2017 1:19 PM, Jeff Hostetler wrote: On 12/1/2017 12:21 PM,

Re: Git stash (or git rev-parse) doesn't inherit the '--work-tree' parameter

2017-12-04 Thread Jacob Keller
On November 29, 2017 11:02:10 PM PST, marc PINHEDE wrote: >Hello guys, > >I don't know if this is a normal behavior, so I'll just explain it >here. > >* Behavior: > >from a directory OUTSIDE my git repo, I can run this command >successfully: >$ git

Re: Bug in git-completion.bash in __git_heads() function

2017-12-04 Thread SZEDER Gábor
Hi, >This is the first time I am sending a bug report here, so if I have > not met the criteria please let me know. >I found that at: > https://github.com/git/git/blob/master/contrib/completion/git-completion.bash#L371, > the usage of refname:strip=2 generates error: > > fatal: unknown

Re: git-completion.bash: Show list of local branches instead of refs for git checkout

2017-12-04 Thread SZEDER Gábor
Hi, > I am using git-completion.bash and when I try to checkout a branch > by typing git checkout on the prompt, I get the following: > > FETCH_HEAD FETCH ORIG_FETCH What is "ORIG_FETCH"? This string was never present in Git's source code. > Will it not be more useful if the list of local

Bug in git-completion.bash in __git_heads() function

2017-12-04 Thread Amandeep Gautam
Hello, This is the first time I am sending a bug report here, so if I have not met the criteria please let me know. I found that at: https://github.com/git/git/blob/master/contrib/completion/git-completion.bash#L371, the usage of refname:strip=2 generates error: fatal: unknown refname:

git-completion.bash: Show list of local branches instead of refs for git checkout

2017-12-04 Thread Amandeep Gautam
Hello, I am using git-completion.bash and when I try to checkout a branch by typing git checkout on the prompt, I get the following: FETCH_HEAD FETCH ORIG_FETCH Will it not be more useful if the list of local branches is populated? If it seems like a good idea I will be willing to submit a

<    1   2