From: Junio C Hamano Date: Wed, 12 Mar 2008 05:33:51 +0000 (-0700) Subject: Merge branch 'js/remote' X-Git-Tag: v1.5.5-rc0~24 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ae90e16a3a7586bc25b7c7de50e4c3ba4806b3b9;p=git.git Merge branch 'js/remote' * js/remote: "remote update": print remote name being fetched from builtin remote rm: remove symbolic refs, too remote: fix "update [group...]" remote show: Clean up connection correctly if object fetch wasn't done builtin-remote: prune remotes correctly that were added with --mirror Make git-remote a builtin Test "git remote show" and "git remote prune" parseopt: add flag to stop on first non option path-list: add functions to work with unsorted lists Conflicts: parse-options.c --- ae90e16a3a7586bc25b7c7de50e4c3ba4806b3b9 diff --cc parse-options.c index b32c9ea66,be35785ce..8e64316fe --- a/parse-options.c +++ b/parse-options.c @@@ -259,7 -249,9 +259,9 @@@ int parse_options(int argc, const char const char *arg = args.argv[0]; if (*arg != '-' || !arg[1]) { + if (flags & PARSE_OPT_STOP_AT_NON_OPTION) + break; - argv[j++] = args.argv[0]; + args.out[args.cpidx++] = args.argv[0]; continue; }