git-imap-send: Allow the program to be run from subdirectories of a git tree.
PATCH 1/4 git-imap-send: Allow the program to be run from subdirectories of a git tree.
Call setup_git_directory_gently to allow git-imap-send to be used from subdirectories of a git tree.
--- imap-send.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
imap-send.c +1 -0
@@ -1296,6 +1296,7 @@ main(int argc, char **argv)/* init the random number generator */ arc4_init (); +setup_git_directory_gently (NULL );git_config (git_imap_config,NULL );if (!imap_folder) {
Signature · 1 line
1.5.6.GIT
Quoted 10 lines · Robert Shearman
Call
setup_git_directory_gentlyto allow git-imap-send to be used from subdirectories of a git tree.--- imap-send.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)imap-send.c +0
-0
imap-send.c main(int argc, char **argv) · line 1302
Quoted 7 lines
imap-send.c +1
-0@@ -1296,6 +1296,7 @@ main(int argc, char **argv)/* init the random number generator */ arc4_init (); +setup_git_directory_gently (NULL );git_config (git_imap_config,NULL );if (!imap_folder) {
I thought Jeff already explained why this NULL was a bad idea, but perhaps I was dreaming...
Besides, the extra spaces around the argument is very distracting.
Quoted 2 lines · Junio C Hamano
I thought Jeff already explained why this NULL was a bad idea, but perhaps I was dreaming...
http://article.gmane.org/gmane.comp.version-control.git/87701
j.
2008/7/9 Jay Soffian <[email protected]>:
Quoted 5 lines · Junio C Hamano
Quoted 2 lines
I thought Jeff already explained why this NULL was a bad idea, but perhaps I was dreaming...
http://article.gmane.org/gmane.comp.version-control.git/87701
Sorry, I missed that message. I'll resend the patch with his suggestion.
Signature · 1 line
Rob Shearman