From 4b9545e5822d3dee65a673e81b80328df7bb151e Mon Sep 17 00:00:00 2001 From: Vincent Driessen Date: Wed, 30 Nov 2011 22:52:20 +0100 Subject: [PATCH 1/3] Add a proposal for our Windows users. Will this help you guys out? --- git-flow | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/git-flow b/git-flow index 97b1b34bb..004aa2eee 100755 --- a/git-flow +++ b/git-flow @@ -42,7 +42,9 @@ if [ "$DEBUG" = "yes" ]; then set -x fi -export GITFLOW_DIR=$(dirname "$0") +# The sed expression here replaces all backslashes by forward slashes. +# This helps our Windows users, while not bothering our Unix users. +export GITFLOW_DIR=$(dirname $(echo "$0" | sed -e 's,\\,/,g')) usage() { echo "usage: git flow " From 5e8cc9fceb509848dee2cd62e98aadc29ffa146b Mon Sep 17 00:00:00 2001 From: Vincent Driessen Date: Thu, 1 Dec 2011 08:52:33 +0100 Subject: [PATCH 2/3] Oops, forgot about spaces in the dirname. Quite likely for Windows users to hit this problem. --- git-flow | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-flow b/git-flow index 004aa2eee..a03ba1fd3 100755 --- a/git-flow +++ b/git-flow @@ -44,7 +44,7 @@ fi # The sed expression here replaces all backslashes by forward slashes. # This helps our Windows users, while not bothering our Unix users. -export GITFLOW_DIR=$(dirname $(echo "$0" | sed -e 's,\\,/,g')) +export GITFLOW_DIR=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") usage() { echo "usage: git flow " From 083a588d4fba8ea4a5a0f6b529cb47c9f0be47e0 Mon Sep 17 00:00:00 2001 From: Vincent Driessen Date: Thu, 1 Dec 2011 08:56:59 +0100 Subject: [PATCH 3/3] Better support for the Windows platform, where backslashes are dominant. --- Changes.mdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Changes.mdown b/Changes.mdown index 71c49450d..4e3936971 100644 --- a/Changes.mdown +++ b/Changes.mdown @@ -10,6 +10,8 @@ Release date: **not yet** * Various minor bug fixes related to internal argument passing +* Better support for Windows users. + * Add package installers for the Debian and Windows platforms. 0.4.1: