Skip to content

git log: using only one of "from", "to" #845

@bieron

Description

@bieron

if (opt.from && opt.to) {

Hi there, big fan of this repo.
Is there any particular reason why LogOptions from and to are only applied when both present? Is this a safety measure against something? It denies a valid use case of git log someCommit.. or git log ..someCommit (basically, allowing git to assume HEAD)

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