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

[PATCH 1/5] git-gui: Avoid using the term URL when specifying repositories

From
pasky@suse.cz <pasky@suse.cz>
Date
Sep 24, 2008, 22:12 UTC
Message-ID
<20080924221731.236909653@suse.cz>
In-Reply-To
<20080924221249.037449176@suse.cz>

Instead, 'Location' is used to label such inputs; in the Clone dialog, 'Source' and 'Target' are also introduced to further clarify the situation. The intent is to increase GUI consistency in the case location templates (upcoming) are used - then, other locators than URL may be used.

This patch has been sponsored by Novartis.
Signed-off-by: Petr Baudis <pasky@suse.cz>
---
 git-gui/lib/choose_repository.tcl    |    4 ++--
 git-gui/lib/remote_branch_delete.tcl |    2 +-
 git-gui/lib/transport.tcl            |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/git-gui/lib/choose_repository.tcl b/git-gui/lib/choose_repository.tcl
index 3180786..f54d88a 100644
--- a/git-gui/lib/choose_repository.tcl
+++ b/git-gui/lib/choose_repository.tcl
@@ -463,7 +463,7 @@ method _do_clone {} {
 	frame $w_body.args
 	pack $args -fill both
 
-	label $args.origin_l -text [mc "URL:"]
+	label $args.origin_l -text [mc "Source Location:"]
 	entry $args.origin_t \
 		-textvariable @origin_url \
 		-font font_diff \
@@ -473,7 +473,7 @@ method _do_clone {} {
 		-command [cb _open_origin]
 	grid $args.origin_l $args.origin_t $args.origin_b -sticky ew
 
-	label $args.where_l -text [mc "Directory:"]
+	label $args.where_l -text [mc "Target Directory:"]
 	entry $args.where_t \
 		-textvariable @local_path \
 		-font font_diff \
diff --git a/git-gui/lib/remote_branch_delete.tcl b/git-gui/lib/remote_branch_delete.tcl
index c7b8148..a09b9ad 100644
--- a/git-gui/lib/remote_branch_delete.tcl
+++ b/git-gui/lib/remote_branch_delete.tcl
@@ -63,7 +63,7 @@ constructor dialog {} {
 		set urltype url
 	}
 	radiobutton $w.dest.url_r \
-		-text [mc "Arbitrary URL:"] \
+		-text [mc "Arbitrary Location:"] \
 		-value url \
 		-variable @urltype
 	entry $w.dest.url_t \
diff --git a/git-gui/lib/transport.tcl b/git-gui/lib/transport.tcl
index 8e6a9d0..e419d78 100644
--- a/git-gui/lib/transport.tcl
+++ b/git-gui/lib/transport.tcl
@@ -135,7 +135,7 @@ proc do_push_anywhere {} {
 		set push_urltype url
 	}
 	radiobutton $w.dest.url_r \
-		-text [mc "Arbitrary URL:"] \
+		-text [mc "Arbitrary Location:"] \
 		-value url \
 		-variable push_urltype
 	entry $w.dest.url_t \
-- 
tg: (c427559..) t/git-gui/avoid-url (depends on: vanilla/master)
Previous: pasky@suse.czNext: pasky@suse.cz
Message 2 of 9 in “git-gui: Support for "Locators" - address templates”
  1. 0/5 git-gui: Support for "Locators" - address templatespasky@suse.cz, Sep 24, 2008
  2. 1/5 git-gui: Avoid using the term URL when specifying repositoriespasky@suse.cz, Sep 24, 2008
  3. 2/5 git-gui: Make input boxes in init/clone/open dialogs consistentpasky@suse.cz, Sep 24, 2008
  4. 3/5 git-gui: Squash populate_{push,fetch}_menu to populate_remotes_menupasky@suse.cz, Sep 24, 2008
  5. Petr BaudisSep 24, 2008
  6. 4/5 git-gui: Factor out URL inputbox construction to location_inputpasky@suse.cz, Sep 24, 2008
  7. 5/5 git-gui: Support for user-provided locator templatespasky@suse.cz, Sep 24, 2008
  8. Daniel BarkalowSep 25, 2008
  9. Shawn O. PearceSep 26, 2008

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.