How to use git-send-email for deep threading
Hello, I am working on eudyptula challenge and I have to send solution file and later patches on that file using git-send-email. I have to send email in such a way that it looks something like this in receiver's email inbox. Two Solution Files (Makefile and .c driver file) └─> [PATCH 01/02] Patch 1 on earlier solution file └─> [PATCH 02/02] Patch 2 on earlier solution file I tired using different options in git send-email, but what I get is incorrect linking of mails. Two Solution Files (Makefile and .c driver file) [PATCH 01/02] Patch 1 on earlier solution file └─> [PATCH 02/02] Patch 2 on earlier solution file I am not able to send two files using git send-email for the first email. I have to use --force to send any source file. Even in this, only first file is attached in mail. I also tried send first file using web browser mail client and then sending patches using git send-email, but it also do not work as expected. I have read git-send-email documentation but not able to comprehend how I can achieve my requirement from it. Can someone please give pointers on how I can send email correctly as per my requirement using git-send-email?
Am 2015-01-19 09:20, schrieb Sunil Shahu:
Two Solution Files (Makefile and .c driver file) └─> [PATCH 01/02] Patch 1 on earlier solution file └─> [PATCH 02/02] Patch 2 on earlier solution file
I tired using different options in git send-email, but what I get is incorrect linking of mails. Two Solution Files (Makefile and .c driver file) [PATCH 01/02] Patch 1 on earlier solution file └─> [PATCH 02/02] Patch 2 on earlier solution file I am not able to send two files using git send-email for the first email. I have to use --force to send any source file. Even in this, only first file is attached in mail.
You should not attach patches to your mails but send them inline.
I also tried send first file using web browser mail client and then sending patches using git send-email, but it also do not work as expected. I have read git-send-email documentation but not able to comprehend how I can achieve my requirement from it. Can someone please give pointers on how I can send email correctly as per my requirement using git-send-email?
In general, you should be using git format-patch to prepare your patches to be sent by git send-email. The git-format-patch(1) man page should be helpful. Cheers, Silvan
participants (2)
-
Silvan Jegen -
Sunil Shahu