Skip to content

buggy call of git log #7

Description

@payload

You call git log without deactivating colors.

https://github.com/creationix/node-git/blob/master/lib/git-fs.js#L197

A user who has configures git to always print color will see a weird error message cause the regex-parser won't match. You can fix this by adding the option -c color.ui=never before the log in git log.

Generally you should add this option to all of your git commands and specially you could look into my own thin wrapper around git commands ;-) https://github.com/payload/node-treeeater/

I discovered this error while using https://github.com/mklabs/nabe

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions