[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Allow hiding stashes from vc-dir

From: Juri Linkov
Subject: Re: [PATCH] Allow hiding stashes from vc-dir
Date: Tue, 15 Oct 2019 21:09:41 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

>> +*** New customizable variable 'vc-git-show-stash'.
>> +Default t, set it to nil to hide stashes in 'vc-dir' when using git.
> How long is your stash list?  A list that is too long can clutter the
> vc-dir display, no?  So maybe turn it off by default, or show only the
> first few stashes by default?

This would be the best option: in case of the number of stashes more
than some limit maybe defined by the numeric value of 'vc-git-show-stash'
with the default value of 1, add the toggle button "[Show all stashes]".

Or without adding a new option, just display that button always,
like the button at the end of vc-log "[Show unlimited entries]".

reply via email to

[Prev in Thread] Current Thread [Next in Thread]