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

Unified Diff: git-cl

Issue 3817011: Isolate depot_tools update into a separate script. (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 | « gclient ('k') | update_depot_tools » ('j') | 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 48cc4cdf2ddb8f035efbf01d82a5286616e4b317..5730c3ab8a2524c25cd5635b515adcdfeaa5a4b4 100755
--- a/git-cl
+++ b/git-cl
@@ -8,6 +8,8 @@ repo="$base_dir/git_cl_repo"
url="http://git.chromium.org/git/git-cl.git"
cur_url=$(git config -f "$repo/.git/config" remote.origin.url)
+"$base_dir"/update_depot_tools
+
if [ -e "$repo" -a "$cur_url" != "$url" ]; then
# Always override "origin"
(cd "$repo"; git remote set-url origin $url)
« no previous file with comments | « gclient ('k') | update_depot_tools » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698