commit | 6c64148f666dad0046086b65eb4912dafafe7a20 | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <spearce@spearce.org> | Thu Mar 11 10:47:12 2010 -0800 |
committer | Shawn O. Pearce <spearce@spearce.org> | Thu Mar 11 15:15:03 2010 -0800 |
tree | 800201b2ad45ef64c2a9e647ea954f05c8b60e52 | |
parent | 2ae9a85045915a38af2c300aa1874304fd8ea17b [diff] |
pgm: Report not in git repository rather than NPE If we can't find a Git repository after searching all the way up to the filesystem root, JGit threw an NPE because we tried to get the path of null. Change-Id: I4e42364aeba53993c0ea528a9aeba3f08c7b3321 Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Reviewed-by: Robin Rosenberg <robin.rosenberg@dewire.com>