From 25af59775290c874d1e057a4e45a1a7f15091951 Mon Sep 17 00:00:00 2001 From: Timothee Cour Date: Wed, 15 Jan 2020 13:49:42 -0800 Subject: [PATCH] followup on #10435 : should be diff, not show --- doc/contributing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/contributing.rst b/doc/contributing.rst index 9778df8436d83..d43cd6196a693 100644 --- a/doc/contributing.rst +++ b/doc/contributing.rst @@ -428,7 +428,7 @@ Code reviews .. code-block:: sh git fetch origin pull/10431/head && git checkout FETCH_HEAD - git show --color-moved-ws=allow-indentation-change --color-moved=blocks HEAD^ + git diff --color-moved-ws=allow-indentation-change --color-moved=blocks HEAD^ 3. In addition, you can view github-like diffs locally to identify what was changed within a code block using `diff-highlight` or `diff-so-fancy`, e.g.: