diff options
Diffstat (limited to 'options.go')
-rw-r--r-- | options.go | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -177,3 +177,11 @@ type SubmoduleUpdateOptions struct { // submodules (and so on). Until the SubmoduleRescursivity is reached. RecurseSubmodules SubmoduleRescursivity } + +// LogOptions describes how a log action should be performed. +type LogOptions struct { + // When the From option is set the log will only contain commits + // reachable from it. If this option is not set, HEAD will be used as + // the default From. + From plumbing.Hash +} |