Re: Feature request: Please add support to stash specific files

2017-06-06 Thread Christian Neukirchen
s been implemented in Git 2.13: > * "git stash push" takes a pathspec so that the local changes can be > stashed away only partially. -- Christian Neukirchenhttp://chneukirchen.org

Re: Stable GnuPG interface, git should use GPGME

2017-03-13 Thread Christian Neukirchen
it was quite some effort to figure out the actual API that is needed: http://chneukirchen.org/dotfiles/bin/git-signify -- Christian Neukirchenhttp://chneukirchen.org

Re: git shortlog vs. stdin

2016-11-15 Thread Christian Neukirchen
ead from standard input, without reference to the current repository. (Note that you can use shortlog ala "git log --pretty=short | git shortlog") -- Christian Neukirchenhttp://chneukirchen.org

Re: git commit -p with file arguments

2016-10-05 Thread Christian Neukirchen
Duy Nguyen writes: >> At the least I think we should clarify this in the document. > > How about something like this? Would it help? I think it captures the current behavior well. -- Christian Neukirchenhttp://chneukirchen.org

Re: git commit -p with file arguments

2016-09-09 Thread Christian Neukirchen
:-( > > Currently there is no way to create commit out of subset of the index, > e.g. with "git commit :0:" I played around with creating a new index just for "add -p" and then committing that one. Seems to have worked... Perhaps I'll just wrap git-commit myself then. cu, -- Christian Neukirchenhttp://chneukirchen.org

Re: git commit -p with file arguments

2016-09-09 Thread Christian Neukirchen
, yet other files are committed. AFAICS, this only happens with -p. -- Christian Neukirchenhttp://chneukirchen.org

git commit -p with file arguments

2016-09-05 Thread Christian Neukirchen
ommit will ignore changes staged in the index, and instead record the current content of the listed files (which must already be known to Git); I'd expect "git commit -p files..." to work like "git add -p files... && git commit files..."

Re: git add -p—splitting hunks, limit is too large

2016-09-02 Thread Christian Neukirchen
gs as appropriate. My main use case for this would be to split a plain addition into several small additions. Which would be much easier with the menu-driven approach. (Mostly I just use magit, but sometimes I want to do this on machines without emacs set up.) -- Christian Neukirchenhttp://chneukirchen.org

Re: git add without whitespace

2016-05-31 Thread Christian Neukirchen
-- ${1-.} \"$@\"' -" Very useful, thanks for sharing! I wonder which other gems are in your .gitconfig, is it public? -- Christian Neukirchenhttp://chneukirchen.org -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 1/4] rebase -i: add ack action

2016-04-11 Thread Christian Neukirchen
t-trailers still feels hard to drive by a script...) -- Christian Neukirchenhttp://chneukirchen.org -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH] cvsimport: silence regex warning appearing in Perl 5.22.

2015-06-24 Thread Christian Neukirchen
Since Perl 5.22, "A literal '{' should now be escaped in a pattern". Silence the recently added warning by using \{ instead. Signed-off-by: Christian Neukirchen --- git-cvsimport.perl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-cvsimport.perl

Re: Redirect "git" subcommand to itself?

2015-05-29 Thread Christian Neukirchen
Junio C Hamano writes: > Christian Neukirchen writes: > >> Junio C Hamano writes: >> >>> * You can help yourself with something like this, I suppose: >>> >>>[alias] >>> git = "!sh -c 'exec git \"$@\"'

Re: Redirect "git" subcommand to itself?

2015-05-29 Thread Christian Neukirchen
, so please do not send a patch to add it as >a built-in alias ;-). So I thought I was clever, but this didn't work: % ln -s /usr/bin/git ~/bin/git-git % git git fatal: cannot handle git as a builtin -- Christian Neukirchenhttp://chneukirchen.org -- To unsubscribe from this list:

Re: [ANNOUNCE] Git v2.3.0-rc0

2015-01-14 Thread Christian Neukirchen
rking tree and the index instead, which would >be useful to "deploy" by pushing into a repository. Perhaps this can mention "receive.denyCurrentBranch=updateInstead" so interested users won't have to grep the tree for 10min to find it. :) Thanks, -- Christian Neukir

Re: Question about rerere

2014-11-06 Thread Christian Neukirchen
ontrib/rerere-train.sh. (Which I learned from http://git-blame.blogspot.de/2012/04/rebuilding-git-integration-environment.html) Ciao, -- Christian Neukirchenhttp://chneukirchen.org -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@v