GNU bug report logs -
#59414
29.0.50; Have vc-git-expanded-log-entry pass --stat
Previous Next
Reported by: Sean Whitton <spwhitton <at> spwhitton.name>
Date: Sun, 20 Nov 2022 17:36:01 UTC
Severity: normal
Found in version 29.0.50
Done: Sean Whitton <spwhitton <at> spwhitton.name>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hello,
On Sun 20 Nov 2022 at 02:58PM -07, Sean Whitton wrote:
> We already have vc-git-log-switches. git-log(1) gets called *without*
> it in (at least) the following places:
>
> - vc-git-log-outgoing
> - vc-git-log-incoming
> - vc-git-log-search
> - vc-git-expanded-log-entry
> - vc-git-region-history
>
> I guess that the first three should probably use vc-git-log-switches if
> anything? And so we would want a separate option for
> vc-git-expanded-log-entry. Not sure about vc-git-region-history.
I think that we actually need two defcustoms for the regular logs and
shortlogs:
- vc-git-print-log -- should choose which defcustom to include based on
its SHORTLOG parameter
- vc-git-log-outgoing -- vc-git-shortlog-switches
- vc-git-log-incoming -- vc-git-shortlog-switches
- vc-git-log-search -- vc-git-log-switches
- vc-git-expanded-log-entry -- vc-git-log-switches
This is because some options are incompatible with shortlogs, such as
--stat. So, the proposed change is to add the new defcustom, change
vc-git-print-log to use both defcustoms, and change all the other
functions to use one of them. How does this sound?
--
Sean Whitton
This bug report was last modified 2 years and 246 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.