how to do these 2 one-liners ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]