diff options
| author | John Cai <johncai86@gmail.com> | 2022-01-05 23:29:31 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-01-10 09:39:26 -0800 |
| commit | 34ae3b707146c05d27cf744e58f95a25a31b3499 (patch) | |
| tree | 052f2771d7931a341a477899c0d0cf9522bfac05 /t/t3412-rebase-root.sh | |
| parent | The fifth batch (diff) | |
| download | git-34ae3b707146c05d27cf744e58f95a25a31b3499.tar.gz git-34ae3b707146c05d27cf744e58f95a25a31b3499.zip | |
name-rev: deprecate --stdin in favor of --annotate-stdin
Introduce a --annotate-stdin that is functionally equivalent of --stdin.
--stdin does not behave as --stdin in other subcommands, such as
pack-objects whereby it takes one argument per line. Since --stdin can
be a confusing and misleading name, rename it to --annotate-stdin.
This change adds a warning to --stdin warning that it will be removed in
the future.
Signed-off-by: "John Cai" <johncai86@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3412-rebase-root.sh')
| -rwxr-xr-x | t/t3412-rebase-root.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t3412-rebase-root.sh b/t/t3412-rebase-root.sh index 19c6f4acbf..1e9f7833dd 100755 --- a/t/t3412-rebase-root.sh +++ b/t/t3412-rebase-root.sh @@ -11,7 +11,7 @@ export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME log_with_names () { git rev-list --topo-order --parents --pretty="tformat:%s" HEAD | - git name-rev --stdin --name-only --refs=refs/heads/$1 + git name-rev --annotate-stdin --name-only --refs=refs/heads/$1 } |
