Skip to content

Commit

Permalink
fixup??? reset: reinstate support for the deprecated --stdin option
Browse files Browse the repository at this point in the history
This is now required because of `jk/bundle-use-dash-for-stdfiles`.

Signed-off-by: Johannes Schindelin <[email protected]>
  • Loading branch information
dscho authored and Git for Windows Build Agent committed Mar 21, 2023
1 parent 33f42ab commit abd3fdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ int cmd_reset(int argc, const char **argv, const char *prefix)
parse_args(&pathspec, argv, prefix, patch_mode, &rev);

if (read_from_stdin) {
pathspec_from_file = "-";
pathspec_from_file = xstrdup("-");
if (nul_term_line)
pathspec_file_nul = 1;
}
Expand Down

0 comments on commit abd3fdc

Please sign in to comment.