aboutsummaryrefslogtreecommitdiffstats
path: root/options.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2019-01-11 02:22:06 +0100
committerGitHub <noreply@github.com>2019-01-11 02:22:06 +0100
commit434611b74cb54538088c6aeed4ed27d3044064fa (patch)
tree19161a599c8f9bdfbfefa88ae02ee9381bf57fcc /options.go
parent791aea319719ee757cb862e83ec43b25113de2c1 (diff)
parentc9609eb875fea54ca9ffe409d1581ef94a38b6bc (diff)
downloadgo-git-434611b74cb54538088c6aeed4ed27d3044064fa.tar.gz
Merge pull request #1045 from kuba--/enh-1024/log-allv4.9.0
Implement git log --all
Diffstat (limited to 'options.go')
-rw-r--r--options.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/options.go b/options.go
index 5d10a88..ed7689a 100644
--- a/options.go
+++ b/options.go
@@ -335,6 +335,11 @@ type LogOptions struct {
// Show only those commits in which the specified file was inserted/updated.
// It is equivalent to running `git log -- <file-name>`.
FileName *string
+
+ // Pretend as if all the refs in refs/, along with HEAD, are listed on the command line as <commit>.
+ // It is equivalent to running `git log --all`.
+ // If set on true, the From option will be ignored.
+ All bool
}
var (