Skip to content

Conversation

@cfuhrman
Copy link

Should a git commit contain no file changes, a situation which is
possible when the git repository has been converted from another SCM
system such as Subversion, then assign an empty string to the list of
files.

This will prevent an exception caused when ruby tries to split a Nil
object.

Tested against git 1.8.0.1 and ruby 1.9.3

Should a git commit contain no file changes, a situation which is
possible when the git repository has been converted from another SCM
system such as Subversion, then assign an empty string to the list of
files.

This will prevent an exception caused when ruby tries to split a Nil
object.

Tested against git 1.8.0.1 and ruby 1.9.3
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.

1 participant