From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Add switches for Git log command Date: Mon, 7 Jun 2021 03:00:00 +0300 Message-ID: <7ddd9a69-d1ff-132f-66ed-a9b5526d2ce7@yandex.ru> References: <87k0nej78o.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30543"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 To: Utkarsh Singh , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jun 07 03:48:00 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lq4My-0007Ww-IR for ged-emacs-devel@m.gmane-mx.org; Mon, 07 Jun 2021 03:48:00 +0200 Original-Received: from localhost ([::1]:40596 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lq4Mx-00028t-KJ for ged-emacs-devel@m.gmane-mx.org; Sun, 06 Jun 2021 21:47:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55796) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lq4MR-0001U5-I7 for emacs-devel@gnu.org; Sun, 06 Jun 2021 21:47:27 -0400 Original-Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:40542) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lq4MP-0007v2-Oc for emacs-devel@gnu.org; Sun, 06 Jun 2021 21:47:27 -0400 Original-Received: by mail-wr1-x432.google.com with SMTP id y7so11009305wrh.7 for ; Sun, 06 Jun 2021 18:47:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Jf65uy5FH7z1qalfozEqFwnvxIfpQSBKCl4QMDs2Xvs=; b=Gq9BbUrQqXnpKjEWEurajM+gC0DEim1fpflUTeWhEEig9e6CTYoXTuV7pBCmXgM2qh k5BlUGkScuc4LPsyxCxy4DTXbpvx14WsOOOt2Yoc345o1yaG4j7phXuz6U4TFvyYVgxh fc/uneR+G2v/SFFs9kQzSTAyzHSEwlWrQXCXTA8i3eGFtf09Y0l8PMctjxeOQaIoFFbG Ng7M9MG5+USulXgOn61ti1fGsfcWC249twmXjI8Bh8OTq/f5TD5rrsliK+RR38KNlyVQ v7nAqWsblf+zOA15287moSstwE03+6gVJINDKsYVrTioWfKxjDsljLx1f9YqqzzCZ9TC 55ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Jf65uy5FH7z1qalfozEqFwnvxIfpQSBKCl4QMDs2Xvs=; b=Ungtkh0uyHo3uAVnsZiRMHo4mm4gu7kyT8dPZl0sXOhvFrwFSD11+XvtcvuhZjzD0A fHu1VqqXBuG2yIwP9wF/irvOxYReoKAa1rjpd+51HH2s+PIdxpHOi/BJ69RZsSPvecwh 2FHK1TyzN6cnN5SyFWDl6/gLEgHTYW49rm9WV9E8OpmHdj0qZnFxOcMMIhDKPCN/xWnY vajFt6dZ2aqHBQGJwNeV8rljOGsihO+vaXmSBX98JpG3GSZNneObQBMaKPiGEOyEqHKZ eYmrhOAzcJ7vQmo6DbR7vtnCmAUxcbyJPYoSmz42ECtw33XH4b+KjdDEom5sSSlSZsLV bkmw== X-Gm-Message-State: AOAM5313DEQv8nWpAeB/nmbKBYYIbuh4Il6InnJMyQBxLxCDF3VqiscV 4vH8+nG5YjhJ4HDwzuI/5dOwrR7cZSs= X-Google-Smtp-Source: ABdhPJzZEo+ieIVywM34/2rJdEc9RMyg2b0LEHiYvqPbHcFaDOxhmLMg0BSxFF0kWQH1A5CW4RAAuA== X-Received: by 2002:a5d:6405:: with SMTP id z5mr14220229wru.39.1623024002032; Sun, 06 Jun 2021 17:00:02 -0700 (PDT) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id o18sm5809783wmh.38.2021.06.06.17.00.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 06 Jun 2021 17:00:01 -0700 (PDT) In-Reply-To: <87k0nej78o.fsf@gmail.com> Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=raaahh@gmail.com; helo=mail-wr1-x432.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.248, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:270514 Archived-At: Hi! On 01.06.2021 11:53, Utkarsh Singh wrote: > VC provides `vc-print-log' command to view changes in current fileset > which displays hash, author, date and commit message. By default git > displays date in format 'Mon May 31 07:29:51 2021 +0200' but I wanted > '2021-05-31 07:29:51 +0200' which is supported by '--date=iso' switch. > > Currently `vc-print-log' provides no option to tweak it's behaviour with > switches hence I am proposing a patch which introduces a variable > `vc-git-log-switches' to provide the necessary functionally. I'm good with this. Could you resend the change as attachment, preferably with a commit message written to our standard? 'git format-patch' can help. Also see CONTRIBUTE.