summaryrefslogtreecommitdiff
path: root/lib/choose_repository.tcl
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-09-24 12:26:07 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2007-09-25 01:48:38 (GMT)
commit40f86af01b061fbbd1e46d125280073322bf9f33 (patch)
tree95241b4f1a53a845c64af5ac44630ce81d909e87 /lib/choose_repository.tcl
parent354e114d7461c5f7f6bd4e0fb6d880bdd15a7823 (diff)
downloadgit-40f86af01b061fbbd1e46d125280073322bf9f33.zip
git-40f86af01b061fbbd1e46d125280073322bf9f33.tar.gz
git-40f86af01b061fbbd1e46d125280073322bf9f33.tar.bz2
git-gui: Don't bother showing OS error message about hardlinks
If we failed to create our test hardlink for the first object we need to link/copy then the only recourse we have is to make a copy of the objects. Users don't really need to know the OS details about why the hardlink failed as its usually because they are crossing filesystem boundaries. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'lib/choose_repository.tcl')
-rw-r--r--lib/choose_repository.tcl5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/choose_repository.tcl b/lib/choose_repository.tcl
index 5f2d12f..9074c1b 100644
--- a/lib/choose_repository.tcl
+++ b/lib/choose_repository.tcl
@@ -496,10 +496,7 @@ method _do_clone2 {} {
[file join .git objects $i] \
[file join $objdir $i]
} err]} {
- info_popup [strcat \
- [mc "Hardlinks are unavailable. Falling back to copying."] \
- "\n" \
- $err]
+ info_popup [mc "Hardlinks are unavailable. Falling back to copying."]
set i [_copy_files $this $objdir $tolink]
} else {
set i [_link_files $this $objdir [lrange $tolink 1 end]]