Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at> --- Documentation/git.txt | 6 +++--- exec_cmd.c | 4 ++++ sha1_file.c | 4 ++++ 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Documentation/git.txt b/Documentation/git.txt index d57bed6..b2a5b60 100644 --- a/Documentation/git.txt +++ b/Documentation/git.txt @@ -382,9 +382,9 @@ git so take care if using Cogito etc. 'GIT_ALTERNATE_OBJECT_DIRECTORIES':: Due to the immutable nature of git objects, old objects can be archived into shared, read-only directories. This variable - specifies a ":" separated list of git object directories which - can be used to search for git objects. New objects will not be - written to these directories. + specifies a ":" separated (on Windows ";" separated) list + of git object directories which can be used to search for git + objects. New objects will not be written to these directories. 'GIT_DIR':: If the 'GIT_DIR' environment variable is set then it diff --git a/exec_cmd.c b/exec_cmd.c index e189cac..343545d 100644 --- a/exec_cmd.c +++ b/exec_cmd.c @@ -37,7 +37,11 @@ static void add_path(struct strbuf *out, const char *path) else strbuf_addstr(out, make_absolute_path(path)); +#ifdef __MINGW32__ + strbuf_addch(out, ';'); +#else strbuf_addch(out, ':'); +#endif } } diff --git a/sha1_file.c b/sha1_file.c index 1ddb96b..453bc43 100644 --- a/sha1_file.c +++ b/sha1_file.c @@ -389,7 +389,11 @@ void prepare_alt_odb(void) if (!alt) alt = ""; alt_odb_tail = &alt_odb_list; +#ifdef __MINGW32__ + link_alt_odb_entries(alt, alt + strlen(alt), ';', NULL, 0); +#else link_alt_odb_entries(alt, alt + strlen(alt), ':', NULL, 0); +#endif read_info_alternates(get_object_directory(), 0); } -- 1.5.4.1.126.ge5a7d - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| David Miller | [GIT]: Networking |
| Fred . | Please add ZFS support (from GPL sources) |
| Greg KH | [patch 00/47] 2.6.25-stable review |
| Davide Libenzi | Re: [patch 7/8] fdmap v2 - implement sys_socket2 |
git: | |
| Jakub Narebski | [RFC] Git User's Survey 2008 |
| Lars Hjemli | [PATCH] git-merge: add option --no-ff |
| Johannes Schindelin | Re: [PATCH 3/4] Add a function for get the parents of a commit |
| Sebastian Schuberth | git on Cygwin: Not a valid object name HEAD |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| bofh | Re: Code signing in OpenBSD |
| Richard Stallman | Real men don't attack straw men |
| William Bloom | Re: site-to-site vpn 4.0 to cisco 3000 |
| Larry McVoy | Re: tcp bw in 2.6 |
| denys | NMI lockup, 2.6.26 release |
| Kok, Auke | Re: [E1000-devel] [PATCH 2/2] [e1000 VLAN] Disable vlan hw accel when promiscuous ... |
| David Miller | Re: 2.6.25-rc8: FTP transfer errors |
