This adds the following options to git-cat-file: -n, to get the canonical name of a resource. This is for one thing useful in tagging scripts. -e, to test for the existence of a file. This also cleans up the option-parsing in git-cat-file slightly. Signed-off-by: H. Peter Anvin