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

Unified Diff: git-reparent-branch-root

Issue 184253003: Add git-reup and friends (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@freeze_thaw
Patch Set: Created 6 years, 10 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
Index: git-reparent-branch-root
diff --git a/git-root b/git-reparent-branch-root
similarity index 88%
copy from git-root
copy to git-reparent-branch-root
index 83775c0a98f3db5800c196f5ecec35f6174c146c..825b005f7abaf9c25406b3a830c81a1f8310c823 100755
--- a/git-root
+++ b/git-reparent-branch-root
@@ -4,4 +4,4 @@
# found in the LICENSE file.
UPSTREAM=$(git config depot_tools.upstream 2>/dev/null || echo origin/master)
-git checkout "$UPSTREAM"
+git reparent-branch "$UPSTREAM"

Powered by Google App Engine
This is Rietveld 408576698