1
0
mirror of https://github.com/git/git.git synced 2024-11-19 05:44:04 +01:00
Git Source Code Mirror. Please follow Documentation/SubmittingPatches procedure for any of your improvements.
Go to file
Shawn O. Pearce 85f77eadcc git-gui: Copy objects/info/alternates during standard clone
If the source repository is using an objects/info/alternates file
we need to copy the file to our new repository so that it can access
any objects that won't be copied/hardlinked as they are stored in the
alternate location.

We explicitly resolve all paths in the objects/info/alternates as
relative to the source repository but then convert them into an
absolute path for the new clone.  This allows the new clone to
access the exact same locaton as the source repository, even if
relative paths had been used before.

Under Cygwin we assume that Git is Cygwin based and that the paths
in objects/info/alternates must be valid Cygwin UNIX paths, so we
need to run `cygpath --unix` on each line in the alternate list.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
2007-09-24 21:48:39 -04:00
lib git-gui: Copy objects/info/alternates during standard clone 2007-09-24 21:48:39 -04:00
po git-gui: Document the new i18n context support 2007-09-12 17:05:16 -04:00
.gitignore
git-gui.sh git-gui: Allow users to choose/create/clone a repository 2007-09-23 04:57:31 -04:00
GIT-VERSION-GEN
Makefile git-gui: Support native Win32 Tcl/Tk under Cygwin 2007-09-20 23:16:53 -04:00