[PATCH] git-send-email: two new options: to-cover, cc-cover

2013-10-02 Thread Michael S. Tsirkin
Allow extracting To/Cc addresses from cover letter. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- Is there interest in this kind of feature? I find it easier than adding --cc to send-email command line. git-send-email.perl | 16 1 file changed, 16 insertions(+) diff

[PATCH] Documentation/git-clean.txt: fix -f, -x

2013-10-02 Thread Włodzimierz Gajda
Change -f into `-f`, -x into `-x`, etc. Signed-off-by: Włodzimierz Gajda gaj...@gajdaw.pl --- Documentation/git-clean.txt | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Documentation/git-clean.txt b/Documentation/git-clean.txt index 8997922..b8d3486

Automatically filling in git send-email arguments based on an existing e-mail

2013-10-02 Thread Matthijs Kooijman
Hi folks, sometimes when I send a patch, I want to reply it to an existing e-mail, using pretty much the same recipient list. Currently, I have to: - copy-paste the message id for --in-reply-to header - copy one address for --to - copy the other addresses for the --cc's Since I can't just

Re: Automatically filling in git send-email arguments based on an existing e-mail

2013-10-02 Thread John Keeping
On Wed, Oct 02, 2013 at 10:25:25AM +0200, Matthijs Kooijman wrote: sometimes when I send a patch, I want to reply it to an existing e-mail, using pretty much the same recipient list. Currently, I have to: - copy-paste the message id for --in-reply-to header - copy one address for --to -

[PATCH] fast-import: always save out branches, tags and marks on checkpoint

2013-10-02 Thread Dmitry Ivankov
checkpoint command causes fast-import to finish the current pack and start a new one. If there are no (newly imported) objects in the pack fast-import does nothing with the pack AND doesn't save out branches, tags and marks. Fix it by always saving out branches, tags and marks on a checkpoint.

Re: [PATCH] clone: local URLs are not for ssh

2013-10-02 Thread Torsten Bögershausen
On 2013-09-29 02.33, Duy Nguyen wrote: On Sun, Sep 29, 2013 at 2:37 AM, Torsten Bögershausen tbo...@web.de wrote: git clone /foo/bar:baz or git clone ../foo/bar:baz are meant to clone from the local file system, and not to clone from a remote server over git-over-ssh. I don't think this is

Bug? Files are losing history after subtree merge

2013-10-02 Thread Ralf Thielow
Hi, recently I did a merge where a complete repo shall be merged into a specific directory of another repo. I tried both the subtree merge strategy and the option -Xsubtree=dir of recursive. I noticed that in both cases somehow the history of single files were lost during these merges (with

Re: Bug? Files are losing history after subtree merge

2013-10-02 Thread Matthieu Moy
Ralf Thielow ralf.thie...@gmail.com writes: Hi, recently I did a merge where a complete repo shall be merged into a specific directory of another repo. I tried both the subtree merge strategy and the option -Xsubtree=dir of recursive. I noticed that in both cases somehow the history of

Re: Bug? Files are losing history after subtree merge

2013-10-02 Thread Ralf Thielow
On Wed, Oct 2, 2013 at 9:42 PM, Matthieu Moy matthieu@grenoble-inp.fr wrote: Ralf Thielow ralf.thie...@gmail.com writes: Hi, recently I did a merge where a complete repo shall be merged into a specific directory of another repo. I tried both the subtree merge strategy and the option

Re: Bug? Files are losing history after subtree merge

2013-10-02 Thread Matthieu Moy
Ralf Thielow ralf.thie...@gmail.com writes: Thanks for explanation. I knew the history of the repo is there, but the history of single files (and the ability to look at it) There is no such thing as single file history in Git. Git knows about the history of the project, and knows which files

Re: Bug? Files are losing history after subtree merge

2013-10-02 Thread Ralf Thielow
On Wed, Oct 2, 2013 at 10:21 PM, Matthieu Moy matthieu@grenoble-inp.fr wrote: Ralf Thielow ralf.thie...@gmail.com writes: Thanks for explanation. I knew the history of the repo is there, but the history of single files (and the ability to look at it) There is no such thing as single

[PATCH] push: Enhance unspecified push default warning

2013-10-02 Thread Coder Coder5000
When the unset push.default warning message is displayed this may be the first time many users encounter push.default. Modified the warning message to explain in a compact manner what push.default is and why it is being changed in Git 2.0. Also provided additional information to help users decide

Re: [PATCH] mingw-multibyte: fix memory acces violation and path length limits.

2013-10-02 Thread Wataru Noguchi
Hi, At last, I foundfollowing Makefile optimization suppression works fine in my case. CFLAGS = -g -O2 -fno-inline-small-functions -Wall Following optimization option cause crash, -finline-small-functions // entry.c:237 int checkout_entry(struct cache_entry *ce, const

Re: [PATCH] clone: local URLs are not for ssh

2013-10-02 Thread Duy Nguyen
On Thu, Oct 3, 2013 at 1:40 AM, Torsten Bögershausen tbo...@web.de wrote: On 2013-09-29 02.33, Duy Nguyen wrote: On Sun, Sep 29, 2013 at 2:37 AM, Torsten Bögershausen tbo...@web.de wrote: git clone /foo/bar:baz or git clone ../foo/bar:baz are meant to clone from the local file system, and not

Re: [PATCH] clone: local URLs are not for ssh

2013-10-02 Thread Jeff King
On Thu, Oct 03, 2013 at 08:01:23AM +0700, Nguyen Thai Ngoc Duy wrote: Sorry for the noise, I noticed it when I was trying to construct test cases. What do we think about adding this at the end of t5505: As usual more tests are usually better. But is t5505-remote.sh the best place? That

[PATCH] add: add --bulk to index all objects into a pack file

2013-10-02 Thread Nguyễn Thái Ngọc Duy
The use case is tar -xzf bigproject.tar.gz cd bigproject git init git add . # git grep or something The first add will generate a bunch of loose objects. With --bulk, all of them are forced into a single pack instead, less clutter on disk and maybe faster object access. This