[ditz-talk] [PATCH] Correctly set issue_dir from command line or user config file

Roy Shea royshea at gmail.com
Sat Jun 5 22:18:32 EDT 2010


The current git HEAD fails to load issue_dir from the configuration
file.  This is due to the command line parser setting a default value
for issue_dir that always masks the specified name in config.issue_dir.
This results in ditz always trying to use ".ditz" as the issue_dir.

The attached patch removes the default issue_dir value from opts.  When
issue_dir is not specified on the command line nor in a users
configuration file, it falls back to using the ".ditz" directory.

Hope this helps,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: issue_dir-specification.patch
Type: text/x-diff
Size: 982 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/ditz-talk/attachments/20100605/59a95bab/attachment.bin>

More information about the ditz-talk mailing list