summaryrefslogtreecommitdiff
path: root/pkt-line.h
diff options
context:
space:
mode:
authorLibravatar Linus Torvalds <torvalds@osdl.org>2005-09-20 14:13:24 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2005-09-20 18:10:32 -0700
commitc1babb1d65e034a058c14379eabec8eb374757ca (patch)
treef42f0f2dafa8e42d8774549bcd9f76e1b59e4b9c /pkt-line.h
parent[PATCH] ARM optimized SHA1 implementation (diff)
downloadtgif-c1babb1d65e034a058c14379eabec8eb374757ca.tar.xz
[PATCH] Teach "git-rev-parse" about date-based cut-offs
This adds the options "--since=date" and "--before=date" to git-rev-parse, which knows how to translate them into seconds since the epoch for git-rev-list. With this, you can do git log --since="2 weeks ago" or git log --until=yesterday to show the commits that have happened in the last two weeks or are older than 24 hours, respectively. The flags "--after=" and "--before" are synonyms for --since and --until, and you can combine them, so git log --after="Aug 5" --before="Aug 10" is a valid (but strange) thing to do. Signed-off-by: Linus Torvalds <torvalds@osdl.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'pkt-line.h')
0 files changed, 0 insertions, 0 deletions