Skip to content

Commit

Permalink
Add a proposal for our Windows users.
Browse files Browse the repository at this point in the history
Will this help you guys out?
  • Loading branch information
nvie committed Nov 30, 2011
1 parent b4626cb commit 4b9545e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion git-flow
Original file line number Diff line number Diff line change
Expand Up @@ -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>"
Expand Down

0 comments on commit 4b9545e

Please sign in to comment.