{"thread":{"id":"8261","subject":"[TRIVIAL PATCH 1/1] Make git-annotate use RUN_SETUP","startedAt":"2007-05-21T03:11:11Z","lastAt":"2007-05-21T03:11:11Z","messageCount":1,"participants":["Andrew Ruder"],"isPatch":true,"patchVersion":1,"patchTotal":1},"messages":[{"id":"42834","messageId":"56fecbfb5ee82e2f8fdccca6b3f275c43e2b03cd.1179716754.git.andy@aeruder.net","threadId":"8261","inReplyTo":null,"subject":"[TRIVIAL PATCH 1/1] Make git-annotate use RUN_SETUP","fromName":"Andrew Ruder","fromEmail":"andy@aeruder.net","sentAt":"2007-05-21T03:11:11Z","receivedAt":"2007-05-21T03:11:11Z","isPatch":true,"sender":{"key":"andy@aeruder.net","avatar":"https://gravatar.com/avatar/cd5239f6d3c9acac61e817de7f7d497e518415e23720f170a10e0663a7981963?d=mp&s=160"},"body":"The USE_PAGER was unnecessary as git-blame/git-annotate specifically\nsetup the pager when --incremental is not specified.\n\nPrior to this patch git annotate somefileinasubdirectory.c would fail\n(while git blame somefileinasubdirectory.c would succeed).\n\nSigned-off-by: Andrew Ruder <andy@aeruder.net>\n---\n git.c |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/git.c b/git.c\nindex f200907..eeb2c0c 100644\n--- a/git.c\n+++ b/git.c\n@@ -225,7 +225,7 @@ static void handle_internal_command(int argc, const char **argv, char **envp)\n \t\tint option;\n \t} commands[] = {\n \t\t{ \"add\", cmd_add, RUN_SETUP | NOT_BARE },\n-\t\t{ \"annotate\", cmd_annotate, USE_PAGER },\n+\t\t{ \"annotate\", cmd_annotate, RUN_SETUP },\n \t\t{ \"apply\", cmd_apply },\n \t\t{ \"archive\", cmd_archive },\n \t\t{ \"blame\", cmd_blame, RUN_SETUP },\n-- \n1.5.2.14.g45bde-dirty\n"}]}