All of lore.kernel.org
 help / color / mirror / Atom feed
* Doing a git add '' will add more files then expected
@ 2014-11-17 16:25 Guilherme
  2014-11-17 18:15 ` Andreas Schwab
  0 siblings, 1 reply; 5+ messages in thread
From: Guilherme @ 2014-11-17 16:25 UTC (permalink / raw)
  To: git

Hello,

I first asked on stackoverflow
(http://stackoverflow.com/questions/26933761/python-sh-module-and-git-try-to-add-more-files-then-in-command/26934517#26934517)
about this behaviour.

Then on the conversation that happened on the git-users mailing list
other agreed that this behaviour is probably not as intended.

Steps to reproduce:
In bash (not sure this is bash specific) do:
git add ''
(that's to apostrophes, an empty argument)

Results
same as doing git add .

Expected
no files added or error about not finding file ''

Hope this helps.
Guilherme

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

end of thread, other threads:[~2014-11-23 19:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-17 16:25 Doing a git add '' will add more files then expected Guilherme
2014-11-17 18:15 ` Andreas Schwab
2014-11-17 18:42   ` Matthieu Moy
2014-11-17 19:08     ` Junio C Hamano
2014-11-23 19:06       ` Javier Domingo Cansino

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.