git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v3 0/4] git gui: allow for a long recentrepo list

From
Philip Oakley <philipoakley@iee.org>
Date
Jan 22, 2017, 19:52 UTC
Message-ID
<20170122195301.1784-1-philipoakley@iee.org>

Way back in December 2015 I made a couple of attempts to patch up the git-gui's recentrepo list in the face of duplicate entries in the .gitconfig

The series end at http://public-inbox.org/git/9731888BD4C348F5BFC82FA96D978034@PhilipOakley/

A similar problem was reported recently on the Git for Windows list https://github.com/git-for-windows/git/issues/1014 were a full recentrepo list also stopped the gui working.

This series applies to Pat Thoyt's upstream Github repo as a merge ready Pull Request https://github.com/patthoyts/git-gui/pull/10. Hence if applied here it should be into the sub-tree git/git-gui.

I believe I've covered the points raised by Junio in the last review and allowed for cases where the recentrepo list is now longer than the maximum (which can be configured, both up and down).

I've cc'd just the cover letter to those involved previously, rather than the series to avoid spamming.

There are various other low hanging fruit that the eager could look at which are detailed at the end of the GfW/issues/104 referenced above.

Philip Oakley (4):
  git-gui: remove duplicate entries from .gitconfig's gui.recentrepo
  git gui: cope with duplicates in _get_recentrepo
  git gui: de-dup selected repo from recentrepo history
  git gui: allow for a long recentrepo list
 lib/choose_repository.tcl | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)
-- 
2.9.0.windows.1.323.g0305acf
---
cc: Junio C Hamano <gitster@pobox.com>
cc: Pat Thoyts <patthoyts@users.sourceforge.net>,
cc: Eric Sunshine <sunshine@sunshineco.com>,
cc: Alexey Astakhov <asstv7@gmail.com>
cc: Johannes Schindelin <johannes.schindelin@gmx.de>
Next: Philip Oakley
Message 1 of 6 in “git gui: allow for a long recentrepo list”
  1. 0/4 git gui: allow for a long recentrepo listPhilip Oakley, Jan 22, 2017
  2. 2/4 git gui: cope with duplicates in _get_recentrepoPhilip Oakley, Jan 22, 2017
  3. 3/4 git gui: de-dup selected repo from recentrepo historyPhilip Oakley, Jan 22, 2017
  4. 1/4 git-gui: remove duplicate entries from .gitconfig's gui.recentrepoPhilip Oakley, Jan 22, 2017
  5. 4/4 git gui: allow for a long recentrepo listPhilip Oakley, Jan 22, 2017
  6. Philip OakleyFeb 11, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.