From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23085 invoked by alias); 8 Jan 2008 17:07:36 -0000 Received: (qmail 23010 invoked by uid 22791); 8 Jan 2008 17:07:35 -0000 X-Spam-Status: No, hits=-4.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 08 Jan 2008 17:07:06 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m08H70vk030708 for ; Tue, 8 Jan 2008 12:07:00 -0500 Received: from pobox.stuttgart.redhat.com (pobox.stuttgart.redhat.com [172.16.2.10]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m08H6xua004291 for ; Tue, 8 Jan 2008 12:06:59 -0500 Received: from blackbox.bricoworks.com (sebastian-int.corp.redhat.com [172.16.52.221]) by pobox.stuttgart.redhat.com (8.13.1/8.13.1) with ESMTP id m08H6soX032727 for ; Tue, 8 Jan 2008 12:06:57 -0500 Message-ID: <4783ADAD.3090000@redhat.com> Date: Tue, 08 Jan 2008 17:07:00 -0000 From: Tim Moore User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: frysk Subject: git revision at time X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 X-IsSubscribed: yes Mailing-List: contact frysk-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-owner@sourceware.org X-SW-Source: 2008-q1/txt/msg00010.txt.bz2 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 To find the last revision before a date: git-rev-list --before=2007-12-14 --pretty=oneline -n1 HEAD You could use --pretty=format:%H to just get the SHA1 hash if you wanted to feed the result directly to another command, like git-tag or git-branch. Tim -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFHg62teDhWHdXrDRURAvnBAKDhUpZpSHyhl1NRrk2+QUsSJPFpTQCgxNb5 X8zrvoa5BzC1aYleiohlb2Y= =wPe6 -----END PGP SIGNATURE-----