Browse files

Add non-nil default values for name and email.

Or Git silently uses the Git defaults when darcs patch author name is empty.
  • Loading branch information...
1 parent e6dbc64 commit 51249de4b02105c81a748e78d4850dd60d96117a @thomie thomie committed Aug 15, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 darcs-to-git
View
4 darcs-to-git
@@ -27,8 +27,8 @@ DEFAULT_AUTHOR_MAP_FILE = ".git/darcs_author_substitutions"
# Usage info and argument parsing
# -------------------------------------------------------------------------------
-OPTIONS = { :default_author => nil,
- :default_email => nil,
+OPTIONS = { :default_author => 'none',
+ :default_email => 'none',
:list_authors => false,
:author_map => nil,
:clean_commit_messages => false,

0 comments on commit 51249de

Please sign in to comment.