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

Unified Diff: man/src/git-upstream-diff.txt

Issue 270503003: Add fast --HEAD option to upstream-diff. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Just document --staged Created 6 years, 7 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 | « man/man1/git-upstream-diff.1 ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: man/src/git-upstream-diff.txt
diff --git a/man/src/git-upstream-diff.txt b/man/src/git-upstream-diff.txt
index e2aab356556507dbe8f29a55b9c8d9e83ff98697..31d8c0b7ea5d1f2ca551f5f690c715156b417be8 100644
--- a/man/src/git-upstream-diff.txt
+++ b/man/src/git-upstream-diff.txt
@@ -49,6 +49,11 @@ OPTIONS
`--stat`;;
This is particularly useful to show 'which' files have been changed in
comparison to the upstream branch.
+`--staged`;;
+ Diff against the staged (cached) changes, instead of against the working
+ directory. This is 'substantially' faster on large repos, but doesn't take
+ into account unstaged changes (i.e. changes in your working copy which you
+ haven't staged with `git add`).
`-- <filename patterns>*`;;
Restrict the diff to only show the diff for given files compared to the
upstream.
« no previous file with comments | « man/man1/git-upstream-diff.1 ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698