mirror of
https://github.com/git/git
synced 2024-08-25 02:35:46 +00:00
git-push: allow pushing from subdirectories
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> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
c96c29093f
commit
6c8d06aff1
2
git.c
2
git.c
|
@ -229,7 +229,7 @@ static void handle_internal_command(int argc, const char **argv, char **envp)
|
|||
{ "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 },
|
||||
|
|
Loading…
Reference in a new issue