diff options
author | Nithin Gangadharan <nithin.linkin@gmail.com> | 2018-10-11 14:17:08 +0530 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2018-10-11 10:47:08 +0200 |
commit | 0bfe038a16551ede1d22bfb54f52c31b646a9e1a (patch) | |
tree | 15a56ea438a779c88667bb6071bf4462eb4d1610 /options.go | |
parent | 299f583fdb7fd3501ba496fbf5f5c517d46efcc8 (diff) | |
download | go-git-0bfe038a16551ede1d22bfb54f52c31b646a9e1a.tar.gz |
Plumbing: object, Add support for Log with filenames. Fixes #826 (#979)
plumbing: object, Add support for Log with filenames. Fixes #826
Diffstat (limited to 'options.go')
-rw-r--r-- | options.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -330,6 +330,10 @@ type LogOptions struct { // set Order=LogOrderCommitterTime for ordering by committer time (more compatible with `git log`) // set Order=LogOrderBSF for Breadth-first search Order LogOrder + + // Show only those commits in which the specified file was inserted/updated. + // It is equivalent to running `git log -- <file-name>`. + FileName *string } var ( |