diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2019-01-11 02:22:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-11 02:22:06 +0100 |
commit | 434611b74cb54538088c6aeed4ed27d3044064fa (patch) | |
tree | 19161a599c8f9bdfbfefa88ae02ee9381bf57fcc /options.go | |
parent | 791aea319719ee757cb862e83ec43b25113de2c1 (diff) | |
parent | c9609eb875fea54ca9ffe409d1581ef94a38b6bc (diff) | |
download | go-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.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 ( |