The handling of output format was wrong in the config module.
This commit is contained in:
parent
84a7fd1945
commit
ac5e38c8f0
|
@ -55,7 +55,9 @@ def init(run):
|
||||||
if exclude != None:
|
if exclude != None:
|
||||||
filtering.add(exclude)
|
filtering.add(exclude)
|
||||||
|
|
||||||
if not __read_git_config__("format", format.get_selected()):
|
output_format = __read_git_config__("format", None)
|
||||||
|
if output_format != None:
|
||||||
|
if not format.select(output_format):
|
||||||
raise format.InvalidFormatError(_("specified output format not supported."))
|
raise format.InvalidFormatError(_("specified output format not supported."))
|
||||||
|
|
||||||
run.hard = __read_git_config__("hard", False)
|
run.hard = __read_git_config__("hard", False)
|
||||||
|
|
Loading…
Reference in New Issue