]> git.ipfire.org Git - thirdparty/git.git/commit - sha1-name.c
Support 'master@2 hours ago' syntax
authorShawn Pearce <spearce@spearce.org>
Wed, 17 May 2006 09:56:09 +0000 (05:56 -0400)
committerJunio C Hamano <junkio@cox.net>
Thu, 18 May 2006 00:36:36 +0000 (17:36 -0700)
commitd556fae2c0ea063f15ea4c3678fe931cc426f1ca
treee6913e22bdc72e0222328ea8ae2b6ac5201c8bcd
parent6de08ae688b9f2426410add155079e04baff33bd
Support 'master@2 hours ago' syntax

Extended sha1 expressions may now include date specifications
which indicate a point in time within the local repository's
history.  If the ref indicated to the left of '@' has a log in
$GIT_DIR/logs/<ref> then the value of the ref at the time indicated
by the specification is obtained from the ref's log.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-rev-parse.txt
refs.c
refs.h
sha1_name.c