summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2007-09-24 08:26:07 -0400
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2007-09-24 21:48:38 -0400
commit40f86af01b061fbbd1e46d125280073322bf9f33 (patch)
tree95241b4f1a53a845c64af5ac44630ce81d909e87
parentgit-gui: Deiconify startup wizard so it raises to the top (diff)
downloadtgif-40f86af01b061fbbd1e46d125280073322bf9f33.tar.xz
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>
-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 5f2d12fd07..9074c1ba5c 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]]