brandon1024/gitchat

git-chat-read: invalid commit/ref exits without message

Opened this issue · 1 comments

If you run git-chat-read with an invalid reference/commit (e.g. git chat read HAED), git chat exits with status 128 and doesn't display a message. We should print a useful message and exit sensibly.

For reference, git-rev-list exits with 128 when given an invalid ref.