Permalink
Browse files

Merge branch 'feature/convert-slashes' into develop

  • Loading branch information...
2 parents b4626cb + 083a588 commit 72594ea4db64fe61d7283227b79162706e00096f @nvie nvie committed Dec 1, 2011
Showing with 5 additions and 1 deletion.
  1. +2 −0 Changes.mdown
  2. +3 −1 git-flow
View
@@ -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:
View
@@ -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 <subcommand>"

0 comments on commit 72594ea

Please sign in to comment.