All of lore.kernel.org
 help / color / mirror / Atom feed
* Is a given file known to git?
@ 2008-03-11  7:15 Christoph Duelli
  2008-03-11  7:24 ` Shawn O. Pearce
  2008-03-11  7:38 ` Johannes Sixt
  0 siblings, 2 replies; 7+ messages in thread
From: Christoph Duelli @ 2008-03-11  7:15 UTC (permalink / raw)
  To: git

Given a repository and a path p to a file in it:
Is it possible (how?) to detect (in a bash script) if the file pointed 
to by p is "known" to git?
Something along the line:
if `git knows p?
then
...
fi

Thanks and keep up the good work!
-- 
Christoph Duelli

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

end of thread, other threads:[~2008-03-11  9:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-11  7:15 Is a given file known to git? Christoph Duelli
2008-03-11  7:24 ` Shawn O. Pearce
2008-03-11  7:38 ` Johannes Sixt
2008-03-11  9:27   ` Christoph Duelli
2008-03-11  9:36     ` Johannes Sixt
2008-03-11  9:41       ` Christoph Duelli
2008-03-11  9:45     ` 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.