{"thread":{"id":"5177","subject":"[PATCH] git-push: allow pushing from subdirectories","startedAt":"2006-08-08T20:01:32Z","lastAt":"2006-08-08T20:01:32Z","messageCount":1,"participants":["Jeff King"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"24992","messageId":"20060808200132.GA26751@sigio.intra.peff.net","threadId":"5177","inReplyTo":null,"subject":"[PATCH] git-push: allow pushing from subdirectories","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2006-08-08T20:01:32Z","receivedAt":"2006-08-08T20:01:32Z","isPatch":true,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"The semantics are equivalent to pushing from the root; we just try harder to\nfind the .git directory.\n\nSigned-off-by: Jeff King <peff@peff.net>\n---\n git.c |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/git.c b/git.c\nindex 6e72a89..18ba14a 100644\n--- a/git.c\n+++ b/git.c\n@@ -229,7 +229,7 @@ static void handle_internal_command(int \n \t\t{ \"log\", cmd_log, NEEDS_PREFIX | USE_PAGER },\n \t\t{ \"whatchanged\", cmd_whatchanged, NEEDS_PREFIX | USE_PAGER },\n \t\t{ \"show\", cmd_show, NEEDS_PREFIX | USE_PAGER },\n-\t\t{ \"push\", cmd_push },\n+\t\t{ \"push\", cmd_push, NEEDS_PREFIX },\n \t\t{ \"format-patch\", cmd_format_patch, NEEDS_PREFIX },\n \t\t{ \"count-objects\", cmd_count_objects },\n \t\t{ \"diff\", cmd_diff, NEEDS_PREFIX },\n-- \n1.4.2.rc3.g07ef-dirty\n"}]}