In msys-git-1.7.4, in git-cl $0 is:

C:\depot_tools\/git-cl

But in msys-git-1.8.0 it's:

C:\depot_tools\\git-cl

Handle either syntax correctly.

TBR=maruel@chromium.org
Review URL: https://codereview.chromium.org/11359074

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@166268 0039d316-1c4b-4281-b951-d872f2087c98
experimental/szager/collated-output
szager@google.com
parent 6a12660bc6
commit 3598b513fb

@ -6,7 +6,7 @@
# git-cl -- a git-command for integrating reviews on Rietveld
# Copyright (C) 2008 Evan Martin <martine@danga.com>
base_dir=$(dirname "$0")
base_dir="${0%\\*}"
# Uncomment this line if you never use gclient.
# "$base_dir"/update_depot_tools

Loading…
Cancel
Save