From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 142EEC47256 for ; Fri, 1 May 2020 22:03:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B536420857 for ; Fri, 1 May 2020 22:03:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=pobox.com header.i=@pobox.com header.b="IoMX3iH9" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726336AbgEAWDO (ORCPT ); Fri, 1 May 2020 18:03:14 -0400 Received: from pb-smtp1.pobox.com ([64.147.108.70]:54333 "EHLO pb-smtp1.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726045AbgEAWDO (ORCPT ); Fri, 1 May 2020 18:03:14 -0400 Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 493EB419B7; Fri, 1 May 2020 18:03:12 -0400 (EDT) (envelope-from junio@pobox.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=rvPJwf59Jzu8nr6Z/13J9kGRW2A=; b=IoMX3i H9fqGzYQCWtsgkA/8uVC7+X5oEstIIxJAkW8pq+PllvORbVJw3+P/pji7pi3AQk9 isoNDhTTTAMjMc7TBBO7MHULOL0d6gSjSkyusryXxCuogaJfxoBg7LA4m9WNyUvU HXPmxxyoOmHm2FIG2H2sFdPxGfG6LEgb5XJLg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=Oh/u/nnG9AVtAxzt/IDkpOVo/PRxmAXv wdNrLN4/O981ROHEm+NKgALi0LztNfjj15Smd4AWv5U98livZe2skiZJWt0Xd4au eFCH2tbZyepatcCmxvh5j5lcBTcmqOu0X4o8BuXv1MmUyihpbqacyafC0B9BcDY5 jwwb52fbi9k= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 40601419B6; Fri, 1 May 2020 18:03:12 -0400 (EDT) (envelope-from junio@pobox.com) Received: from pobox.com (unknown [34.74.119.39]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id BF7FB419B3; Fri, 1 May 2020 18:03:10 -0400 (EDT) (envelope-from junio@pobox.com) From: Junio C Hamano To: Dmitry Kulikov Cc: git@vger.kernel.org Subject: Re: git log --since= References: <3860060.ab4mYtCOl4@hp470> Date: Fri, 01 May 2020 15:03:10 -0700 In-Reply-To: <3860060.ab4mYtCOl4@hp470> (Dmitry Kulikov's message of "Fri, 01 May 2020 23:35:53 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 8BDE2CEA-8BF7-11EA-B72E-C28CBED8090B-77302942!pb-smtp1.pobox.com Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Dmitry Kulikov writes: > I have found a problem. > > It turned out, that the timestamp used to determinate which commit is later > the given date is not at 0h 0m 0s, Instead it is at the current time. > > Similarly --until= uses not 23h 59m 59s but also current time. The behaviour is as designed. "git log --since=yesterday" does the same "as nobody said which hour and minute, we take it to mean this time yesterday". You of course can say "git log --since=yesterday.midnight" if you want to be exact ;-).