Git development
 help / color / mirror / Atom feed
From: "Rob Shearman" <robertshearman@gmail.com>
To: git@vger.kernel.org
Subject: [PATCH 1/3] git-imap-send: Allow the program to be run from subdirectories of a git tree.
Date: Mon, 7 Jul 2008 09:05:22 +0100	[thread overview]
Message-ID: <1096648c0807070105l49a6dc38ra1710b0aadb220d9@mail.gmail.com> (raw)

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(-)

diff --git a/imap-send.c b/imap-send.c
index 1ec1310..89a1532 100644
--- a/imap-send.c
+++ b/imap-send.c
@@ -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) {
-- 
1.5.6.GIT

             reply	other threads:[~2008-07-07  8:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-07  8:05 Rob Shearman [this message]
2008-07-08  4:10 ` [PATCH 1/3] git-imap-send: Allow the program to be run from subdirectories of a git tree Jeff King

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1096648c0807070105l49a6dc38ra1710b0aadb220d9@mail.gmail.com \
    --to=robertshearman@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox