Ref T5781. git show . works like HEAD, but that isn't what arc browse . means.
Details
Details
- Reviewers
btrahan avivey chad • avive - Maniphest Tasks
- T5781: Moar functionality for `arc browse`!
- Commits
- rARC377eb5d1e0a2: Don't interpret `arc browse .` as a commit
Ran arc browse . with a repository at a published commit.
Diff Detail
Diff Detail
- Repository
- rARC Arcanist
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
- Also use git show ... -- to prevent interpretation of the commit argument as a path.
Comment Actions
this now fails for me:
$ arc browse app Exception Command failed with error #128! COMMAND git show -s --format='%H' 'app' -- STDOUT (empty) STDERR fatal: bad revision 'app' (Run with --trace for a full exception trace.)
Comment Actions
Yes :)
(I'm still not sure what's the deal with git. It only does that trick for HEAD).