Skip to content
Snippets Groups Projects
Commit 6c64148f authored by Shawn Pearce's avatar Shawn Pearce
Browse files

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: default avatarShawn O. Pearce <spearce@spearce.org>
Reviewed-by: default avatarRobin Rosenberg <robin.rosenberg@dewire.com>
parent 2ae9a850
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment