How to determine age of HEAD commit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: How to determine age of HEAD commit
- From: Philip Oakley <philipoakley@iee.email>
- Date: Sun, 8 Dec 2019 12:09:14 +0000
- User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
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]