Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(312)

Unified Diff: git-cl

Issue 3530012: git-cl: change the git-cl-repo dir to git_cl_repo so that we can import (Closed)
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git-cl
diff --git a/git-cl b/git-cl
index 4c568f7b6ca2170aaeeb1c74e7ec5102e96aae83..2d9ac30426d9b480ca1193dbc7d1db8b212f84de 100755
--- a/git-cl
+++ b/git-cl
@@ -4,7 +4,7 @@
# found in the LICENSE file.
base_dir=$(dirname "$0")
-repo="$base_dir/git-cl-repo"
+repo="$base_dir/git_cl_repo"
url="http://src.chromium.org/git/git-cl.git"
cur_url=$(git config -f "$repo/.git/config" remote.origin.url)
@@ -26,10 +26,10 @@ fi
if [ ! -f "$repo/git-cl" ]; then
git clone $url $repo -q
-elif [ ! -e "$base_dir/git-cl-repo/.git" ]; then
- echo "$0: $base_dir/git-cl-repo does not appear to be a git repo"
+elif [ ! -e "$repo/.git" ]; then
+ echo "$0: $repo does not appear to be a git repo"
elif [ "X$DEPOT_TOOLS_UPDATE" != "X0" ]; then
- (cd "$base_dir/git-cl-repo"; git pull -q)
+ (cd "$repo"; git pull -q)
fi
$repo/git-cl "$@"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698