Skip to content

git log -n 1 doesn't seem to work #69

@jamielinux

Description

@jamielinux

Hi, thanks for this great tool. git isn't the same without it.

I think I found a bug. git log -1 and git log -n1 work fine, but git log -n 1 only works for non-scmpuff git.

$ git clone https://github.com/mroth/scmpuff.git
$ cd scmpuff
$ git log -n 1  --pretty=format:%H
(no output)
$ git log -1  --pretty=format:%H
9d53550badab476bf97b50d79a572840138871a2
$ git log -n1  --pretty=format:%H
9d53550badab476bf97b50d79a572840138871a2
$ /usr/bin/git log -n 1  --pretty=format:%H
9d53550badab476bf97b50d79a572840138871a2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions