mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 09:24:54 +01:00
nmbug: Add --no-renames to default log options
Git has supported this since b68ea12e (diff.c: respect diff.renames config option, 2006-07-07, v1.4.2). All of our information is in the paths (the files are empty), so we don't want rename detection. By using --no-renames, we get entries like: $ nmbug log -- e473b453a2 commit e473b453a25c072b5df67d834d822121373321f5 Author: David Bremner <david@tethera.net> Date: Sun Sep 25 07:54:11 2016 -0300 D tags/1474196252-31700-1-git-send-email-markwalters1009@gmail.com/0.23 A tags/1474196252-31700-1-git-send-email-markwalters1009@gmail.com/pushed ... Instead of the old: $ nmbug log -- e473b453a2 commit e473b453a25c072b5df67d834d822121373321f5 Author: David Bremner <david@tethera.net> Date: Sun Sep 25 07:54:11 2016 -0300 R100 tags/1474196252-31700-1-git-send-email-markwalters1009@gmail.com/0.23 tags/1474196252-31700-1-git-send-email-markwalters1009@gmail.com/pushed
This commit is contained in:
parent
3a92ab8e4b
commit
f9189a062b
1 changed files with 1 additions and 1 deletions
|
@ -475,7 +475,7 @@ def log(args=()):
|
|||
'nmbug log HEAD..@{upstream}'.
|
||||
"""
|
||||
# we don't want output trapping here, because we want the pager.
|
||||
args = ['log', '--name-status'] + list(args)
|
||||
args = ['log', '--name-status', '--no-renames'] + list(args)
|
||||
with _git(args=args, expect=(0, 1, -13)) as p:
|
||||
p.wait()
|
||||
|
||||
|
|
Loading…
Reference in a new issue