Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'feature/convert-slashes' into develop

  • Loading branch information...
commit 72594ea4db64fe61d7283227b79162706e00096f 2 parents b4626cb + 083a588
@nvie nvie authored
Showing with 5 additions and 1 deletion.
  1. +2 −0  Changes.mdown
  2. +3 −1 git-flow
View
2  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:
View
4 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 <subcommand>"
Please sign in to comment.
Something went wrong with that request. Please try again.