Documentation: @{-N} can refer to a commit
[git/debian.git] / t / t4013 / diff.diff-tree_--pretty_-p_side
blobb993aa7b893c9ba6c276045a400fe0a849265fcd
1 $ git diff-tree --pretty -p side
2 commit c7a2ab9e8eac7b117442a607d5a9b3950ae34d5a
3 Author: A U Thor <author@example.com>
4 Date:   Mon Jun 26 00:03:00 2006 +0000
6     Side
8 diff --git a/dir/sub b/dir/sub
9 index 35d242b..7289e35 100644
10 --- a/dir/sub
11 +++ b/dir/sub
12 @@ -1,2 +1,4 @@
13  A
14  B
17 diff --git a/file0 b/file0
18 index 01e79c3..f4615da 100644
19 --- a/file0
20 +++ b/file0
21 @@ -1,3 +1,6 @@
22  1
23  2
24  3
28 diff --git a/file3 b/file3
29 new file mode 100644
30 index 0000000..7289e35
31 --- /dev/null
32 +++ b/file3
33 @@ -0,0 +1,4 @@