diff options
author | kuba-- <kuba@sourced.tech> | 2019-01-03 22:47:04 +0100 |
---|---|---|
committer | kuba-- <kuba@sourced.tech> | 2019-01-07 08:52:54 +0100 |
commit | 3180dff8c5618b2e146a7fb4ac36be10851c86cc (patch) | |
tree | 88ded2ac78340fc8c4a022a90e6ea3d5de34259a /options.go | |
parent | 791aea319719ee757cb862e83ec43b25113de2c1 (diff) | |
download | go-git-3180dff8c5618b2e146a7fb4ac36be10851c86cc.tar.gz |
Implement git log --all
Signed-off-by: kuba-- <kuba@sourced.tech>
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 ( |