All of lore.kernel.org
 help / color / mirror / Atom feed
* git rm --pathspec-from-file does not work in subdirectories
@ 2021-05-28  4:20 Dietrich Epp
  2021-05-28  4:59 ` Junio C Hamano
  0 siblings, 1 reply; 4+ messages in thread
From: Dietrich Epp @ 2021-05-28  4:20 UTC (permalink / raw)
  To: git

How to reproduce: cd into a subdirectory and use git rm
--pathspec-from-file. For example, in Git's repo, at the top level:

$ git rm --pathspec-from-file=/dev/null
fatal: No pathspec was given. Which files should I remove?
$ cd compat
$ git rm --pathspec-from-file=/dev/null
fatal: --pathspec-from-file is incompatible with pathspec arguments

However, git add works as expected.

Tested on commit 5afd72a96f0a3f65a832fd1448d9de1c534aaa69 (master)

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

end of thread, other threads:[~2021-05-28  5:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-28  4:20 git rm --pathspec-from-file does not work in subdirectories Dietrich Epp
2021-05-28  4:59 ` Junio C Hamano
2021-05-28  5:08   ` Eric Sunshine
2021-05-28  5:56     ` Junio C Hamano

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.