How to determine age of HEAD commit

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

 



The Visual Studio git solution uses the vcpkg manager for dependencies, via a cloned git repo.

To avoid repeated probing for updates when compiling, I considered holding of on 'git pull' for the repo for say 24 hours (daily update). However I'm not aware of a git command that returns the numeric value of the agedness of a given local commit (typically HEAD).

Is there a command that does return the numeric agedness of a commit (e.g. now - commit_date, in seconds)?
--
Philip




[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]

  Powered by Linux