git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to do these 2 one-liners ?
@ 2007-03-19 22:25 Christian MICHON
  2007-03-19 22:44 ` Junio C Hamano
  2007-03-19 23:09 ` Linus Torvalds
  0 siblings, 2 replies; 4+ messages in thread
From: Christian MICHON @ 2007-03-19 22:25 UTC (permalink / raw)
  To: git

Hi list,

in order to code a gvim plugin for git (I started something), I now miss
2 one-liners, and I hope experts around this list will find it easy
to answer (for the sake of this plugin)

================================================
1) how do I check the status of a single file ? ( the file is already
added in the index)

I usually use git-status here, but for single files that need update,
there should be a faster way.

================================================
2) how do I find in historical reverse order all the commits a
certain file belongs to since the origin ?

I usually do: git-log <file> | grep ^commit
I would like to avoid piping here...

I may need more than these 2 one-liners, if they're doable.
I'll post something soon :)
Thanks in advance!

-- 
Christian

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

end of thread, other threads:[~2007-03-19 23:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-19 22:25 how to do these 2 one-liners ? Christian MICHON
2007-03-19 22:44 ` Junio C Hamano
2007-03-19 22:59   ` Christian MICHON
2007-03-19 23:09 ` Linus Torvalds

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