mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-11-04 23:34:39 +00:00
Read config from snapshot on textconv command retrieval
This commit is contained in:
parent
df7d55f1d4
commit
d7ff282be7
1 changed files with 3 additions and 1 deletions
|
@ -42,10 +42,12 @@ public class TextConv
|
||||||
var textconv_key = "diff.%s.textconv".printf(diffattr);
|
var textconv_key = "diff.%s.textconv".printf(diffattr);
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
command = repository.get_config().get_string(textconv_key);
|
var config = repository.get_config().snapshot();
|
||||||
|
command = config.get_string(textconv_key);
|
||||||
}
|
}
|
||||||
catch (GLib.Error e)
|
catch (GLib.Error e)
|
||||||
{
|
{
|
||||||
|
warning("error getting textconv command: %s\n", e.message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return command;
|
return command;
|
||||||
|
|
Loading…
Reference in a new issue