git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Small bug report in git restore -p prompt
@ 2022-09-14  6:56 David Plumpton
  2022-09-14  9:47 ` [PATCH] add -p: fix worktree patch mode prompts René Scharfe
  0 siblings, 1 reply; 3+ messages in thread
From: David Plumpton @ 2022-09-14  6:56 UTC (permalink / raw)
  To: git

What did you do before the bug happened? (Steps to reproduce your issue)
git restore -p -s <hash>

What did you expect to happen? (Expected behavior)
Prompt should say "Apply this hunk to worktree..."

What happened instead? (Actual behavior)
Prompt said "Apply this hunk to index and worktree..."

What's different between what you expected and what actually happened?
For git restore the prompt should not mention applying hunk to index.

Anything else you want to add:

Please review the rest of the bug report below.
You can delete any lines you don't wish to share.


[System Info]
git version:
git version 2.37.3
cpu: x86_64
no commit associated with this build
sizeof-long: 8
sizeof-size_t: 8
shell-path: /bin/sh
feature: fsmonitor--daemon
uname: Darwin 21.6.0 Darwin Kernel Version 21.6.0: Mon Aug 22 20:17:10
PDT 2022; root:xnu-8020.140.49~2/RELEASE_X86_64 x86_64
compiler info: clang: 13.1.6 (clang-1316.0.21.2.5)
libc info: no libc information available
$SHELL (typically, interactive shell): /bin/zsh


[Enabled Hooks]


-- 
David P.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-09-15  2:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-14  6:56 Small bug report in git restore -p prompt David Plumpton
2022-09-14  9:47 ` [PATCH] add -p: fix worktree patch mode prompts René Scharfe
2022-09-15  2:27   ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).