All of lore.kernel.org
 help / color / mirror / Atom feed
* Possible bug or error in document?
@ 2024-07-31  6:08 KwonHyun Kim
  2024-07-31 15:44 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: KwonHyun Kim @ 2024-07-31  6:08 UTC (permalink / raw)
  To: git

Hello there, I have a possible bug or possible error in document.

  When I do `git add --pathspec-from=.gitadd --ignore-errors` I can
the following error

```
$ git add --pathspec-from=.gitadd --ignore-errors
fatal: pathspec 'chapter???.R' did not match any files
```

  I figured from what I read from the help, --ignore-errors means add
whatever possible(help included in the following)

--ignore-errors
           If some files could not be added because of errors indexing
them, do not abort the operation, but continue adding the others. The
command shall still exit with non-zero
           status. The configuration variable add.ignoreErrors can be
set to true to make this the default behaviour.

  So is it me possibly misunderstanding English, or it might be git
doing something wrong or document directing someone in the wrong
direction...

  I thought I might use this option(--pathsepc-from=) like using
.gitignore in the opposite way but it seems that I need to make my own
script to read line by line and do `git add`

  Thank you for reading.

KwH Kim

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

end of thread, other threads:[~2024-07-31 15:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-31  6:08 Possible bug or error in document? KwonHyun Kim
2024-07-31 15:44 ` 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.