Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git-gui: Don't complain if no .git/remotes exist.
author
Shawn O. Pearce
<spearce@spearce.org>
Tue, 7 Nov 2006 08:00:20 +0000
(
03:00
-0500)
committer
Shawn O. Pearce
<spearce@spearce.org>
Tue, 7 Nov 2006 08:05:34 +0000
(
03:05
-0500)
The user might be using the new style config syntax remote.name.url
rather than the older standalone remote file.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
07123f4
)
diff --git
a/git-gui
b/git-gui
index 0cd85e3c92fe1e596f1733f0ca189f60480583cd..b8e7c8958639a54d57ac62fdb6099540fe7cbf7a 100755
(executable)
--- a/
git-gui
+++ b/
git-gui
@@
-797,8
+797,11
@@
proc load_all_remotes {} {
set all_remotes [list]
set rm_dir [file join $gitdir remotes]
if {[file isdirectory $rm_dir]} {
- set all_remotes [concat $all_remotes \
- [glob -types f -tails -directory $rm_dir * *]]
+ set all_remotes [concat $all_remotes [glob \
+ -types f \
+ -tails \
+ -nocomplain \
+ -directory $rm_dir *]]
}
set fd_rc [open "| git repo-config --list" r]