mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-10-03 22:54:15 +00:00
Added newline to update-index just to be sure
This commit is contained in:
parent
52aa4ce714
commit
f3cd9c235b
|
@ -458,7 +458,7 @@ gitg_commit_unstage(GitgCommit *commit, GitgChangedFile *file, gchar const *hunk
|
|||
gchar *path = gitg_repository_relative(commit->priv->repository, f);
|
||||
g_object_unref(f);
|
||||
|
||||
gchar *input = g_strdup_printf("%s %s\t%s", gitg_changed_file_get_mode(file), gitg_changed_file_get_sha(file), path);
|
||||
gchar *input = g_strdup_printf("%s %s\t%s\n", gitg_changed_file_get_mode(file), gitg_changed_file_get_sha(file), path);
|
||||
gboolean ret = gitg_repository_command_with_inputv(commit->priv->repository, input, error, "update-index", "--index-info", NULL);
|
||||
g_free(input);
|
||||
|
||||
|
|
Loading…
Reference in a new issue