Home
last modified time | relevance | path

Searched refs:patch_mode (Results 1 – 25 of 83) sorted by relevance

1234

/dports/www/firefox/firefox-99.0/python/mozbuild/mozbuild/vendor/
H A Dmach_commands.py60 patch_mode="", argument
85 if patch_mode and patch_mode not in ["none", "only"]:
88 % patch_mode
93 and not patch_mode
100 if patch_mode == "only" and not manifest["vendoring"].get("patches", []):
121 patch_mode,
/dports/devel/git-svn/git-2.34.1/builtin/
H A Dreset.c208 int patch_mode, in parse_args() argument
257 (patch_mode ? PATHSPEC_PREFIX_ORIGIN : 0), in parse_args()
295 int patch_mode = 0, pathspec_file_nul = 0, unborn; in cmd_reset() local
314 OPT_BOOL('p', "patch", &patch_mode, N_("select hunks interactively")), in cmd_reset()
327 parse_args(&pathspec, argv, prefix, patch_mode, &rev); in cmd_reset()
330 if (patch_mode) in cmd_reset()
347 } else if (!pathspec.nr && !patch_mode) { in cmd_reset()
365 if (patch_mode) { in cmd_reset()
H A Dadd.c232 int run_add_interactive(const char *revision, const char *patch_mode,
253 if (!patch_mode)
256 if (!strcmp(patch_mode, "--patch"))
258 else if (!strcmp(patch_mode, "--patch=stash"))
260 else if (!strcmp(patch_mode, "--patch=reset"))
262 else if (!strcmp(patch_mode, "--patch=checkout"))
264 else if (!strcmp(patch_mode, "--patch=worktree"))
267 die("'%s' not supported", patch_mode);
273 if (patch_mode)
274 strvec_push(&argv, patch_mode);
H A Dcheckout.c49 int patch_mode;
458 if (opts->merge && opts->patch_mode)
487 if (opts->patch_mode) {
488 const char *patch_mode;
506 patch_mode = "--patch=checkout";
508 patch_mode = "--patch=reset";
510 patch_mode = "--patch=worktree";
1434 if (opts->patch_mode)
1686 !opts->patch_mode &&
1736 if (opts->patch_mode)
[all …]
/dports/devel/git-gui/git-2.34.1/builtin/
H A Dreset.c208 int patch_mode, in parse_args() argument
257 (patch_mode ? PATHSPEC_PREFIX_ORIGIN : 0), in parse_args()
295 int patch_mode = 0, pathspec_file_nul = 0, unborn; in cmd_reset() local
314 OPT_BOOL('p', "patch", &patch_mode, N_("select hunks interactively")), in cmd_reset()
327 parse_args(&pathspec, argv, prefix, patch_mode, &rev); in cmd_reset()
330 if (patch_mode) in cmd_reset()
347 } else if (!pathspec.nr && !patch_mode) { in cmd_reset()
365 if (patch_mode) { in cmd_reset()
H A Dadd.c232 int run_add_interactive(const char *revision, const char *patch_mode, in run_add_interactive() argument
253 if (!patch_mode) in run_add_interactive()
256 if (!strcmp(patch_mode, "--patch")) in run_add_interactive()
258 else if (!strcmp(patch_mode, "--patch=stash")) in run_add_interactive()
260 else if (!strcmp(patch_mode, "--patch=reset")) in run_add_interactive()
262 else if (!strcmp(patch_mode, "--patch=checkout")) in run_add_interactive()
264 else if (!strcmp(patch_mode, "--patch=worktree")) in run_add_interactive()
267 die("'%s' not supported", patch_mode); in run_add_interactive()
273 if (patch_mode) in run_add_interactive()
274 strvec_push(&argv, patch_mode); in run_add_interactive()
H A Dcheckout.c49 int patch_mode; member
458 if (opts->merge && opts->patch_mode) in checkout_paths()
487 if (opts->patch_mode) { in checkout_paths()
488 const char *patch_mode; in checkout_paths() local
506 patch_mode = "--patch=checkout"; in checkout_paths()
508 patch_mode = "--patch=reset"; in checkout_paths()
510 patch_mode = "--patch=worktree"; in checkout_paths()
1434 if (opts->patch_mode) in checkout_branch()
1686 !opts->patch_mode && in checkout_main()
1736 if (opts->patch_mode) in checkout_main()
[all …]
/dports/devel/git-p4/git-2.34.1/builtin/
H A Dreset.c208 int patch_mode, in parse_args() argument
257 (patch_mode ? PATHSPEC_PREFIX_ORIGIN : 0), in parse_args()
295 int patch_mode = 0, pathspec_file_nul = 0, unborn; in cmd_reset() local
314 OPT_BOOL('p', "patch", &patch_mode, N_("select hunks interactively")), in cmd_reset()
327 parse_args(&pathspec, argv, prefix, patch_mode, &rev); in cmd_reset()
330 if (patch_mode) in cmd_reset()
347 } else if (!pathspec.nr && !patch_mode) { in cmd_reset()
365 if (patch_mode) { in cmd_reset()
H A Dadd.c232 int run_add_interactive(const char *revision, const char *patch_mode, in run_add_interactive() argument
253 if (!patch_mode) in run_add_interactive()
256 if (!strcmp(patch_mode, "--patch")) in run_add_interactive()
258 else if (!strcmp(patch_mode, "--patch=stash")) in run_add_interactive()
260 else if (!strcmp(patch_mode, "--patch=reset")) in run_add_interactive()
262 else if (!strcmp(patch_mode, "--patch=checkout")) in run_add_interactive()
264 else if (!strcmp(patch_mode, "--patch=worktree")) in run_add_interactive()
267 die("'%s' not supported", patch_mode); in run_add_interactive()
273 if (patch_mode) in run_add_interactive()
274 strvec_push(&argv, patch_mode); in run_add_interactive()
H A Dcheckout.c49 int patch_mode; member
458 if (opts->merge && opts->patch_mode) in checkout_paths()
487 if (opts->patch_mode) { in checkout_paths()
488 const char *patch_mode; in checkout_paths() local
506 patch_mode = "--patch=checkout"; in checkout_paths()
508 patch_mode = "--patch=reset"; in checkout_paths()
510 patch_mode = "--patch=worktree"; in checkout_paths()
1434 if (opts->patch_mode) in checkout_branch()
1686 !opts->patch_mode && in checkout_main()
1736 if (opts->patch_mode) in checkout_main()
[all …]
/dports/devel/git/git-2.34.1/builtin/
H A Dreset.c208 int patch_mode, in parse_args() argument
257 (patch_mode ? PATHSPEC_PREFIX_ORIGIN : 0), in parse_args()
295 int patch_mode = 0, pathspec_file_nul = 0, unborn; in cmd_reset() local
314 OPT_BOOL('p', "patch", &patch_mode, N_("select hunks interactively")), in cmd_reset()
327 parse_args(&pathspec, argv, prefix, patch_mode, &rev); in cmd_reset()
330 if (patch_mode) in cmd_reset()
347 } else if (!pathspec.nr && !patch_mode) { in cmd_reset()
365 if (patch_mode) { in cmd_reset()
H A Dadd.c232 int run_add_interactive(const char *revision, const char *patch_mode, in run_add_interactive() argument
253 if (!patch_mode) in run_add_interactive()
256 if (!strcmp(patch_mode, "--patch")) in run_add_interactive()
258 else if (!strcmp(patch_mode, "--patch=stash")) in run_add_interactive()
260 else if (!strcmp(patch_mode, "--patch=reset")) in run_add_interactive()
262 else if (!strcmp(patch_mode, "--patch=checkout")) in run_add_interactive()
264 else if (!strcmp(patch_mode, "--patch=worktree")) in run_add_interactive()
267 die("'%s' not supported", patch_mode); in run_add_interactive()
273 if (patch_mode) in run_add_interactive()
274 strvec_push(&argv, patch_mode); in run_add_interactive()
H A Dcheckout.c49 int patch_mode; member
458 if (opts->merge && opts->patch_mode) in checkout_paths()
487 if (opts->patch_mode) { in checkout_paths()
488 const char *patch_mode; in checkout_paths() local
506 patch_mode = "--patch=checkout"; in checkout_paths()
508 patch_mode = "--patch=reset"; in checkout_paths()
510 patch_mode = "--patch=worktree"; in checkout_paths()
1434 if (opts->patch_mode) in checkout_branch()
1686 !opts->patch_mode && in checkout_main()
1736 if (opts->patch_mode) in checkout_main()
[all …]
/dports/devel/git-cvs/git-2.34.1/builtin/
H A Dreset.c208 int patch_mode, in parse_args() argument
257 (patch_mode ? PATHSPEC_PREFIX_ORIGIN : 0), in parse_args()
295 int patch_mode = 0, pathspec_file_nul = 0, unborn; in cmd_reset() local
314 OPT_BOOL('p', "patch", &patch_mode, N_("select hunks interactively")), in cmd_reset()
327 parse_args(&pathspec, argv, prefix, patch_mode, &rev); in cmd_reset()
330 if (patch_mode) in cmd_reset()
347 } else if (!pathspec.nr && !patch_mode) { in cmd_reset()
365 if (patch_mode) { in cmd_reset()
H A Dadd.c232 int run_add_interactive(const char *revision, const char *patch_mode, in run_add_interactive() argument
253 if (!patch_mode) in run_add_interactive()
256 if (!strcmp(patch_mode, "--patch")) in run_add_interactive()
258 else if (!strcmp(patch_mode, "--patch=stash")) in run_add_interactive()
260 else if (!strcmp(patch_mode, "--patch=reset")) in run_add_interactive()
262 else if (!strcmp(patch_mode, "--patch=checkout")) in run_add_interactive()
264 else if (!strcmp(patch_mode, "--patch=worktree")) in run_add_interactive()
267 die("'%s' not supported", patch_mode); in run_add_interactive()
273 if (patch_mode) in run_add_interactive()
274 strvec_push(&argv, patch_mode); in run_add_interactive()
H A Dcheckout.c49 int patch_mode; member
458 if (opts->merge && opts->patch_mode) in checkout_paths()
487 if (opts->patch_mode) { in checkout_paths()
488 const char *patch_mode; in checkout_paths() local
506 patch_mode = "--patch=checkout"; in checkout_paths()
508 patch_mode = "--patch=reset"; in checkout_paths()
510 patch_mode = "--patch=worktree"; in checkout_paths()
1434 if (opts->patch_mode) in checkout_branch()
1686 !opts->patch_mode && in checkout_main()
1736 if (opts->patch_mode) in checkout_main()
[all …]
/dports/devel/cgit/cgit-1.2.3/git/builtin/
H A Dreset.c201 int patch_mode, in parse_args() argument
250 (patch_mode ? PATHSPEC_PREFIX_ORIGIN : 0), in parse_args()
288 int patch_mode = 0, pathspec_file_nul = 0, unborn; in cmd_reset() local
307 OPT_BOOL('p', "patch", &patch_mode, N_("select hunks interactively")), in cmd_reset()
320 parse_args(&pathspec, argv, prefix, patch_mode, &rev); in cmd_reset()
323 if (patch_mode) in cmd_reset()
340 } else if (!pathspec.nr && !patch_mode) { in cmd_reset()
358 if (patch_mode) { in cmd_reset()
H A Dcheckout.c47 int patch_mode; member
417 if (opts->ignore_unmerged && opts->patch_mode) in checkout_paths()
424 if (opts->merge && opts->patch_mode) in checkout_paths()
453 if (opts->patch_mode) { in checkout_paths()
454 const char *patch_mode; in checkout_paths() local
457 patch_mode = "--patch=checkout"; in checkout_paths()
459 patch_mode = "--patch=reset"; in checkout_paths()
461 patch_mode = "--patch=worktree"; in checkout_paths()
1358 if (opts->patch_mode) in checkout_branch()
1604 !opts->patch_mode && in checkout_main()
[all …]
H A Dadd.c186 int run_add_interactive(const char *revision, const char *patch_mode, in run_add_interactive() argument
199 if (!patch_mode) in run_add_interactive()
201 if (strcmp(patch_mode, "--patch")) in run_add_interactive()
203 patch_mode); in run_add_interactive()
208 if (patch_mode) in run_add_interactive()
209 argv_array_push(&argv, patch_mode); in run_add_interactive()
/dports/devel/git-svn/git-2.34.1/
H A Dgit-add--interactive.perl95 my $patch_mode;
168 $patch_mode = 'stage';
1126 __($edit_hunk_manually_modes{$patch_mode}),
1826 $patch_mode = 'reset_head';
1838 $patch_mode = ($arg eq 'HEAD' ?
1845 $patch_mode = 'checkout_index';
1848 $patch_mode = ($arg eq 'HEAD' ?
1855 $patch_mode = 'checkout_index';
1858 $patch_mode = ($arg eq 'HEAD' ?
1863 $patch_mode = $1;
[all …]
/dports/devel/git-gui/git-2.34.1/
H A Dgit-add--interactive.perl95 my $patch_mode;
168 $patch_mode = 'stage';
1126 __($edit_hunk_manually_modes{$patch_mode}),
1826 $patch_mode = 'reset_head';
1838 $patch_mode = ($arg eq 'HEAD' ?
1845 $patch_mode = 'checkout_index';
1848 $patch_mode = ($arg eq 'HEAD' ?
1855 $patch_mode = 'checkout_index';
1858 $patch_mode = ($arg eq 'HEAD' ?
1863 $patch_mode = $1;
[all …]
/dports/devel/git-p4/git-2.34.1/
H A Dgit-add--interactive.perl95 my $patch_mode;
168 $patch_mode = 'stage';
1126 __($edit_hunk_manually_modes{$patch_mode}),
1826 $patch_mode = 'reset_head';
1838 $patch_mode = ($arg eq 'HEAD' ?
1845 $patch_mode = 'checkout_index';
1848 $patch_mode = ($arg eq 'HEAD' ?
1855 $patch_mode = 'checkout_index';
1858 $patch_mode = ($arg eq 'HEAD' ?
1863 $patch_mode = $1;
[all …]
/dports/devel/git/git-2.34.1/
H A Dgit-add--interactive.perl95 my $patch_mode;
168 $patch_mode = 'stage';
1126 __($edit_hunk_manually_modes{$patch_mode}),
1826 $patch_mode = 'reset_head';
1838 $patch_mode = ($arg eq 'HEAD' ?
1845 $patch_mode = 'checkout_index';
1848 $patch_mode = ($arg eq 'HEAD' ?
1855 $patch_mode = 'checkout_index';
1858 $patch_mode = ($arg eq 'HEAD' ?
1863 $patch_mode = $1;
[all …]
/dports/devel/git-cvs/git-2.34.1/
H A Dgit-add--interactive.perl95 my $patch_mode;
168 $patch_mode = 'stage';
1126 __($edit_hunk_manually_modes{$patch_mode}),
1826 $patch_mode = 'reset_head';
1838 $patch_mode = ($arg eq 'HEAD' ?
1845 $patch_mode = 'checkout_index';
1848 $patch_mode = ($arg eq 'HEAD' ?
1855 $patch_mode = 'checkout_index';
1858 $patch_mode = ($arg eq 'HEAD' ?
1863 $patch_mode = $1;
[all …]
/dports/devel/cgit/cgit-1.2.3/git/
H A Dgit-add--interactive.perl95 my $patch_mode;
168 $patch_mode = 'stage';
1123 __($edit_hunk_manually_modes{$patch_mode}),
1788 $patch_mode = 'reset_head';
1793 $patch_mode = ($arg eq 'HEAD' ?
1800 $patch_mode = 'checkout_index';
1803 $patch_mode = ($arg eq 'HEAD' ?
1810 $patch_mode = 'checkout_index';
1813 $patch_mode = ($arg eq 'HEAD' ?
1818 $patch_mode = $1;
[all …]

1234