Skip to content

Fix unhandled exception if the Git repo does not exist - #20

Merged
planestraveler merged 3 commits into
planestraveler:masterfrom
ellotheth:nonexistent-git-repo
May 19, 2012
Merged

planestraveler merged 3 commits into
planestraveler:masterfrom
ellotheth:nonexistent-git-repo

Conversation

@ellotheth

Copy link
Copy Markdown

The exciting part is bd40497, which handles the NullPointerException you get if the current working directory is not a Git repository. The rest adds a command-line option ('-c') to create a repository, and moves the repository-checking code out of the generic helper factory and into the Git-specific helper.

@planestraveler

Copy link
Copy Markdown
Owner

This is really helpful and i like the modification. Thank for your contribution.

planestraveler added a commit that referenced this pull request May 19, 2012
Fix unhandled exception if the Git repo does not exist
@planestraveler
planestraveler merged commit 93ea3d4 into planestraveler:master May 19, 2012
@ellotheth
ellotheth deleted the nonexistent-git-repo branch December 20, 2012 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants