From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#38044: 27.0.50; There should be an easier way to look at a specific vc commit Date: Sun, 17 Nov 2019 13:53:07 +0200 Message-ID: <590e595e-8220-1c7e-bd4a-b2eb0968e289@yandex.ru> References: <87ftj5at1q.fsf@gnus.org> <87r22phsoj.fsf@gmx.net> <87bltslnpo.fsf@mail.linkov.net> <87d0dvmqu8.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="48437"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 Cc: Lars Ingebrigtsen , 38044@debbugs.gnu.org To: Juri Linkov , Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 17 12:56:03 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iWJ9t-000CQ4-J0 for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Nov 2019 12:56:01 +0100 Original-Received: from localhost ([::1]:53308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWJ9s-0002gY-Gv for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Nov 2019 06:56:00 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42073) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWJ7z-0001RN-9E for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2019 06:54:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iWJ7y-0008Ht-Cb for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2019 06:54:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59839) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iWJ7y-0008Hp-9A for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2019 06:54:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iWJ7y-0001Wh-4K for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2019 06:54:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Nov 2019 11:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38044 X-GNU-PR-Package: emacs Original-Received: via spool by 38044-submit@debbugs.gnu.org id=B38044.15739915985816 (code B ref 38044); Sun, 17 Nov 2019 11:54:02 +0000 Original-Received: (at 38044) by debbugs.gnu.org; 17 Nov 2019 11:53:18 +0000 Original-Received: from localhost ([127.0.0.1]:40427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWJ7G-0001Vk-2j for submit@debbugs.gnu.org; Sun, 17 Nov 2019 06:53:18 -0500 Original-Received: from mail-wr1-f47.google.com ([209.85.221.47]:35481) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWJ7E-0001VW-Do for 38044@debbugs.gnu.org; Sun, 17 Nov 2019 06:53:16 -0500 Original-Received: by mail-wr1-f47.google.com with SMTP id s5so16192621wrw.2 for <38044@debbugs.gnu.org>; Sun, 17 Nov 2019 03:53:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=j+VRmZB3WL3mCkNM1zfOtKx7WU75SQt76V7tcOjDsyE=; b=e8v1st9aEjTC6ctvw7vtaotLtYTb8use9noeQUQaDJIAlbqkhTO42hv06mmyaxi2Vj 1FI35DPjwZESqIZYxcgGpaVn8Mf24b499tQbzPAZJLKPiLsYLrorkDJMMPszs7Ns6VV0 MQzhVK7k0d7a+cCscjiB10OAVSI1FeFsXQKH7UIoJoMehQfz5+wa+/P74fvAAEREfJwU iGQDzBRZycpGDqAqDzdNbtAj9/kE+HO7sE3KNkytfodK+KKs8Y2zGjtd5ZjUUOkPd04l /KGDEeg9kk99l+IyYf94T3Ee40vkX9V5avXaynQQYfaidAWQwvJJSnjuF/ffViSKWZkv lGjg== 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:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=j+VRmZB3WL3mCkNM1zfOtKx7WU75SQt76V7tcOjDsyE=; b=TqKj7faPKrPWfxh9FsTC98Xvqarpv8yG098M47+4IHNFmOjlOKMI7R7tDHCQXQQ8AS pu6HSeuuta1piy+pmMii7ObbjRk8au0mf9Rfj+kz/HZabCrMIXP4YAzh1GFEWaSKjOL9 R09JvLq7LeokwF8xZZfhivRz/69q+lfoFJLxNwuZQL+XeFfcAkxlB6oZbEl+BXf5Cz+e YWgRXpPbhAagGCmMWkDnNrWekQSoOSqeMWYGxnmt+xik2XZPbsEVfqXNYPCN9G+PSjsb XUdNgDrjNO0raQRk8zCxuTwcD8xzS3+eT+vgaW+oQ6lBnG2eHpS1kiPR7FtPUQAJrdCG tyMQ== X-Gm-Message-State: APjAAAXc9c55l79vjX9IE0u2hgQVhRT+UwSpEVbLn5w/bKkUypU0ND3h BwT3t+VQFSdWnQx5yFUjytsO93snMl0= X-Google-Smtp-Source: APXvYqyByAddpYgnizxxMwkNI1SpglyruqDHaEVgLZ9Jgt/+ibZ8fXvNsO/WRBaN5ENGBAjG5sVBOQ== X-Received: by 2002:adf:f147:: with SMTP id y7mr17561966wro.236.1573991590178; Sun, 17 Nov 2019 03:53:10 -0800 (PST) Original-Received: from [192.168.0.5] ([212.50.117.215]) by smtp.googlemail.com with ESMTPSA id o5sm18568232wrx.15.2019.11.17.03.53.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Nov 2019 03:53:09 -0800 (PST) In-Reply-To: <87d0dvmqu8.fsf@mail.linkov.net> Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:171796 Archived-At: On 13.11.2019 23:03, Juri Linkov wrote: > Actually "log-show" is a bad name. It's too git-specific OT1H, > and OTOH it's too general since its output varies that doesn't fit > to log-view-mode. Git's log output is flexible, isn't it? It can be changed using a template. > I hoped git would be able to search both sha and commit message > in one command, something like: > > git log -1 5761a1a393 --grep=5761a1a393 > > to output the log of sha 5761a1a393, and logs of matching commit messages, > but this is not possible in git. It's feasible: just call Git twice and concat the results. But I don't think it's a good idea to mix the results of two different searches. I think there should be two of them. But there could be an extra -dwim- command that makes the choice based on the word under point (and whether it's hexinumeric).