diff/log -G<pattern>: tests
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
f506b8e8b5
commit
bf1dfc3103
@ -210,6 +210,9 @@ log -m -p master
|
||||
log -SF master
|
||||
log -S F master
|
||||
log -SF -p master
|
||||
log -GF master
|
||||
log -GF -p master
|
||||
log -GF -p --pickaxe-all master
|
||||
log --decorate --all
|
||||
log --decorate=full --all
|
||||
|
||||
|
27
t/t4013/diff.log_-GF_-p_--pickaxe-all_master
Normal file
27
t/t4013/diff.log_-GF_-p_--pickaxe-all_master
Normal file
@ -0,0 +1,27 @@
|
||||
$ git log -GF -p --pickaxe-all master
|
||||
commit 9a6d4949b6b76956d9d5e26f2791ec2ceff5fdc0
|
||||
Author: A U Thor <author@example.com>
|
||||
Date: Mon Jun 26 00:02:00 2006 +0000
|
||||
|
||||
Third
|
||||
|
||||
diff --git a/dir/sub b/dir/sub
|
||||
index 8422d40..cead32e 100644
|
||||
--- a/dir/sub
|
||||
+++ b/dir/sub
|
||||
@@ -2,3 +2,5 @@ A
|
||||
B
|
||||
C
|
||||
D
|
||||
+E
|
||||
+F
|
||||
diff --git a/file1 b/file1
|
||||
new file mode 100644
|
||||
index 0000000..b1e6722
|
||||
--- /dev/null
|
||||
+++ b/file1
|
||||
@@ -0,0 +1,3 @@
|
||||
+A
|
||||
+B
|
||||
+C
|
||||
$
|
18
t/t4013/diff.log_-GF_-p_master
Normal file
18
t/t4013/diff.log_-GF_-p_master
Normal file
@ -0,0 +1,18 @@
|
||||
$ git log -GF -p master
|
||||
commit 9a6d4949b6b76956d9d5e26f2791ec2ceff5fdc0
|
||||
Author: A U Thor <author@example.com>
|
||||
Date: Mon Jun 26 00:02:00 2006 +0000
|
||||
|
||||
Third
|
||||
|
||||
diff --git a/dir/sub b/dir/sub
|
||||
index 8422d40..cead32e 100644
|
||||
--- a/dir/sub
|
||||
+++ b/dir/sub
|
||||
@@ -2,3 +2,5 @@ A
|
||||
B
|
||||
C
|
||||
D
|
||||
+E
|
||||
+F
|
||||
$
|
7
t/t4013/diff.log_-GF_master
Normal file
7
t/t4013/diff.log_-GF_master
Normal file
@ -0,0 +1,7 @@
|
||||
$ git log -GF master
|
||||
commit 9a6d4949b6b76956d9d5e26f2791ec2ceff5fdc0
|
||||
Author: A U Thor <author@example.com>
|
||||
Date: Mon Jun 26 00:02:00 2006 +0000
|
||||
|
||||
Third
|
||||
$
|
Loading…
Reference in New Issue
Block a user