Page MenuHomePhabricator

Git review fails if branch name matches file/dir name
Closed, ResolvedPublic

Description

Had trouble running git log --decorate --oneline sql --not remotes/gerrit/master
fatal: ambiguous argument 'sql': both revision and filename
Use '--' to separate filenames from revisions


Version: unspecified
Severity: minor
See Also:
https://launchpad.net/bugs/1144800

Details

Reference
bz38951

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 12:51 AM
bzimport added projects: Gerrit, Upstream.
bzimport set Reference to bz38951.

The problem as described was fixed already in git-review master (https://review.openstack.org/#/c/19816/)
but I have submitted another corner case in https://review.openstack.org/#/c/23495/

All fixes have been committed to the git master of git-review.