node-gitlog icon indicating copy to clipboard operation
node-gitlog copied to clipboard

Could you add 'tag' to the fields options?

Open TonyXiang opened this issue 4 years ago • 3 comments

for git tag infomation

TonyXiang avatar Jan 22 '21 07:01 TonyXiang

If you make the PR I'll happily merge and release it!

hipstersmoothie avatar Jan 22 '21 17:01 hipstersmoothie

@hipstersmoothie i added a pull request on this issue, very simple

jigarzon avatar Aug 02 '21 18:08 jigarzon

@hipstersmoothie @jigarzon Including tag in fields results in:

(node:306360) UnhandledPromiseRejectionWarning: Error: Unknown field: tag
    at F:\Code\node_modules\gitlog\dist\gitlog.cjs.development.js:166:15
    at Array.forEach (<anonymous>)
    at createCommandArguments (F:\DNV\Code\node_modules\gitlog\dist\gitlog.cjs.development.js:164:20)
    at gitlog (F:\DNV\Code\node_modules\gitlog\dist\gitlog.cjs.development.js:215:26)   
    at process (F:\DNV\Code\log-gen.js:49:25)
    at Object.<anonymous> (F:\DNV\Code\log-gen.js:71:1)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)

thegoatherder avatar Sep 26 '22 13:09 thegoatherder