From: Andrew Ruder <andy@aeruder.net>
To: Junio C Hamano <junkio@cox.net>
Cc: git@vger.kernel.org
Subject: [TRIVIAL PATCH 1/1] Make git-annotate use RUN_SETUP
Date: Sun, 20 May 2007 22:11:11 -0500 [thread overview]
Message-ID: <56fecbfb5ee82e2f8fdccca6b3f275c43e2b03cd.1179716754.git.andy@aeruder.net> (raw)
The USE_PAGER was unnecessary as git-blame/git-annotate specifically
setup the pager when --incremental is not specified.
Prior to this patch git annotate somefileinasubdirectory.c would fail
(while git blame somefileinasubdirectory.c would succeed).
Signed-off-by: Andrew Ruder <andy@aeruder.net>
---
git.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/git.c b/git.c
index f200907..eeb2c0c 100644
--- a/git.c
+++ b/git.c
@@ -225,7 +225,7 @@ static void handle_internal_command(int argc, const char **argv, char **envp)
int option;
} commands[] = {
{ "add", cmd_add, RUN_SETUP | NOT_BARE },
- { "annotate", cmd_annotate, USE_PAGER },
+ { "annotate", cmd_annotate, RUN_SETUP },
{ "apply", cmd_apply },
{ "archive", cmd_archive },
{ "blame", cmd_blame, RUN_SETUP },
--
1.5.2.14.g45bde-dirty
reply other threads:[~2007-05-21 3:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=56fecbfb5ee82e2f8fdccca6b3f275c43e2b03cd.1179716754.git.andy@aeruder.net \
--to=andy@aeruder.net \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
/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