git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* update-cache ./test.c
@ 2005-05-01  8:41 Lennert Buytenhek
  2005-05-01  8:47 ` Thomas Glanzmann
  2005-05-01  9:43 ` David Greaves
  0 siblings, 2 replies; 7+ messages in thread
From: Lennert Buytenhek @ 2005-05-01  8:41 UTC (permalink / raw)
  To: git

Hi,

update-cache seems to ignore paths containing path components
starting with a dot:

	pi% update-cache --add ./test.c
	Ignoring path ./test.c
	pi% update-cache --add test.c
	pi%

This is slightly annoying as 'find -type f | xargs update-cache --add'
doesn't work because of this.  ('find * -type f | ...` does.)  Instead
of ignoring the file, can we just strip off the leading "./" ?


--L

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

end of thread, other threads:[~2005-05-01 10:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-01  8:41 update-cache ./test.c Lennert Buytenhek
2005-05-01  8:47 ` Thomas Glanzmann
2005-05-01  8:54   ` Lennert Buytenhek
2005-05-01  8:59     ` Lennert Buytenhek
2005-05-01  9:04       ` Thomas Glanzmann
2005-05-01 10:31       ` Junio C Hamano
2005-05-01  9:43 ` David Greaves

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).