diff options
| author | Shawn O. Pearce <spearce@spearce.org> | 2006-11-07 03:00:20 -0500 |
|---|---|---|
| committer | Shawn O. Pearce <spearce@spearce.org> | 2006-11-07 03:05:34 -0500 |
| commit | d47ae541cef50f5fbfaec195597cf1cebc2840f5 (patch) | |
| tree | 3378ab2dab8fb1bf021b06544f2148cdc86f22a2 | |
| parent | 07123f4002efdb881f6ce08c5c4411e17e34e141 (diff) | |
| download | git-d47ae541cef50f5fbfaec195597cf1cebc2840f5.tar.xz | |
git-gui: Don't complain if no .git/remotes exist.
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>
| -rwxr-xr-x | git-gui | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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] |
