Skip to content

git-gui: reduce Tcl version requirement from 8.6 to 8.5

Pratyush Yadav git 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v12 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- Add a note _after_ checking if the user agreed to the deletion. Otherwise, if the user denies, two "zombie" notes are left lying around which will never be activated. This means that the chord won't complete and the index won't be unlocked, leading to git-gui becoming frozen.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2git-gui: reduce Tcl version requirement from 8.6 to 8.5git-gui.sh lib/chord.tcl lib/index.tcl+33 -350 replies
2/2git-gui: create a new namespace for chord script evaluationlib/chord.tcl+4 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] git-gui: reduce Tcl version requirement from 8.6 to 8.5

Hi,

Some MacOS distributions ship with Tcl 8.5. This means we can't use TclOO. So, use our homegrown class.tcl instead.

While here, fix a potential variable name collision by creating a separate namespace for a chord's script evaluation.

Jonathan,

Can you please test the patches the same way you tested your original series just to be sure we don't break anything? A review would also be nice.

Changes in v2:
- Add a note _after_ checking if the user agreed to the deletion. Otherwise, if the user denies, two "zombie" notes are left lying around which will never be activated. This means that the chord won't complete and the index won't be unlocked, leading to git-gui becoming frozen.

Pratyush Yadav (2):
git-gui: reduce Tcl version requirement from 8.6 to 8.5
git-gui: create a new namespace for chord script evaluation

 git-gui.sh    |  4 ++--
 lib/chord.tcl | 56 +++++++++++++++++++++++++--------------------------
 lib/index.tcl | 10 +++++----
 3 files changed, 35 insertions(+), 35 deletions(-)

--
2.26.0.rc1.11.g30e9940356