Skip to content

git-gui: Support for "Locators" - address templates

[email protected] git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5git-gui: Avoid using the term URL when specifying repositoriesgit-gui/lib/choose_repository.tcl git-gui/lib/remote_branch_delete.tcl git-gui/lib/transport.tcl+4 -40 replies
2/5git-gui: Make input boxes in init/clone/open dialogs consistentgit-gui/lib/choose_repository.tcl+8 -40 replies
3/5git-gui: Squash populate_{push,fetch}_menu to populate_remotes_menugit-gui/git-gui.sh git-gui/lib/remote.tcl+70 -701 reply
4/5git-gui: Factor out URL inputbox construction to location_inputgit-gui/lib/choose_repository.tcl git-gui/lib/remote_add.tcl git-gui/lib/remote_branch_delete.tcl +1 more+31 -380 replies
5/5git-gui: Support for user-provided locator templatesDocumentation/config.txt git-gui/lib/choose_repository.tcl git-gui/lib/remote_add.tcl +2 more+81 -70 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/5] git-gui: Support for "Locators" - address templates

This patch allows "locators" to be configured and used in the GUI, basically as URL templates the input string is subsituted into. The default operation of git-gui is not much affected (only some labels change to be less confusing).

This is aimed mainly at corporate Git deployments - the integrator might want to configure the central corporate repository store as the default locator so that people do not need to type the same URL over and over but can instead just type the repository name on the server. Or avid repo.or.cz users might set up a 'repo' locator pointing at 'git://repo.or.cz/%s'.

In practice, this seems to be a more significant usability improvement than it might seem. Less technical users appear to be less daunted to type in just the project name instead of dealing with long URLs.