git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] git-push: allow pushing from subdirectories
@ 2006-08-08 20:01 Jeff King
  0 siblings, 0 replies; only message in thread
From: Jeff King @ 2006-08-08 20:01 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

The semantics are equivalent to pushing from the root; we just try harder to
find the .git directory.

Signed-off-by: Jeff King <peff@peff.net>
---
 git.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/git.c b/git.c
index 6e72a89..18ba14a 100644
--- a/git.c
+++ b/git.c
@@ -229,7 +229,7 @@ static void handle_internal_command(int 
 		{ "log", cmd_log, NEEDS_PREFIX | USE_PAGER },
 		{ "whatchanged", cmd_whatchanged, NEEDS_PREFIX | USE_PAGER },
 		{ "show", cmd_show, NEEDS_PREFIX | USE_PAGER },
-		{ "push", cmd_push },
+		{ "push", cmd_push, NEEDS_PREFIX },
 		{ "format-patch", cmd_format_patch, NEEDS_PREFIX },
 		{ "count-objects", cmd_count_objects },
 		{ "diff", cmd_diff, NEEDS_PREFIX },
-- 
1.4.2.rc3.g07ef-dirty

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2006-08-08 20:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-08 20:01 [PATCH] git-push: allow pushing from subdirectories Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).