mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-08-25 02:47:01 +00:00
Fixed specifying git path as first command line arg
This commit is contained in:
parent
e2a2f45469
commit
41df093700
|
@ -496,7 +496,7 @@ gitg_window_load_repository(GitgWindow *window, gchar const *path, gint argc, gc
|
|||
|
||||
gchar const **ar = argv;
|
||||
|
||||
if (!haspath && argc)
|
||||
if (!haspath && path)
|
||||
{
|
||||
ar = (gchar const **)g_new(gchar *, ++argc);
|
||||
|
||||
|
|
Loading…
Reference in a new issue