All of lore.kernel.org
 help / color / mirror / Atom feed
* git stash push --patch offers skip-worktree hunks
@ 2021-01-27  8:15 Daniel Lublin
  2021-01-27 13:21 ` brian m. carlson
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Lublin @ 2021-01-27  8:15 UTC (permalink / raw)
  To: git

Hi,

I'm using this to hide some locally modified files from accidental commit:

  git update-index --skip-worktree ...

Doing `git stash push` does not result in the above modifications being
stashed. But, doing `git stash push --patch` asks me about hunks in the
files which were flagged to skip-worktree. Instinctively, this feels wrong.
The docs also say:

  Interactively select hunks from the diff between HEAD and the working tree
  to be stashed.

What do you think?

regards,

-- 
Daniel
lublin.se


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

end of thread, other threads:[~2021-01-27 13:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-27  8:15 git stash push --patch offers skip-worktree hunks Daniel Lublin
2021-01-27 13:21 ` brian m. carlson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.