Bug#811565: [uscan] git mode: allow for scanning repositories without tags

James McCoy jamessan at debian.org
Sat Jun 11 18:20:09 UTC 2016


On Sun, Jun 12, 2016 at 02:47:52AM +0900, Osamu Aoki wrote:
> Let me recall your last part of comment again:
> > downloading the last object, and parsing it for the date.
> 
> Can you show me this "parsing it for the date" part with an example
> shell activity?

The below will show the commit date of the last commit.  Adjust
accordingly to get the information for a specific commit.

$ git log -1 --pretty='format:%cd' --date='format:%Y%m%d'

Cheers,
-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB



More information about the devscripts-devel mailing list