commit | 4b9545e5822d3dee65a673e81b80328df7bb151e | [log] [tgz] |
---|---|---|
author | Vincent Driessen <vincent@3rdcloud.com> | 周三 11月 30 22:52:20 2011 +0100 |
committer | Vincent Driessen <vincent@3rdcloud.com> | 周三 11月 30 22:52:20 2011 +0100 |
tree | 9521bdb26ac522b568afc608fc8aeb2f1cc1d320 | |
parent | b4626cb1b5392d22843b0d32dd73d09627526c15 [diff] |
Add a proposal for our Windows users. Will this help you guys out?
diff --git a/git-flow b/git-flow index 97b1b34..004aa2e 100755 --- a/git-flow +++ b/git-flow
@@ -42,7 +42,9 @@ 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>"