From 3180dff8c5618b2e146a7fb4ac36be10851c86cc Mon Sep 17 00:00:00 2001 From: kuba-- Date: Thu, 3 Jan 2019 22:47:04 +0100 Subject: Implement git log --all Signed-off-by: kuba-- --- options.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'options.go') 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 -- `. FileName *string + + // Pretend as if all the refs in refs/, along with HEAD, are listed on the command line as . + // It is equivalent to running `git log --all`. + // If set on true, the From option will be ignored. + All bool } var ( -- cgit