[gitg] fixup! Honor prepare-commit-msg hook



commit fa036fd895c7a380eb13ecfda608a01dc15dd913
Author: Adwait Rawat <adwait rawat gmail com>
Date:   Sun Mar 8 19:57:47 2020 +0900

    fixup! Honor prepare-commit-msg hook

 gitg/commit/gitg-commit-dialog.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gitg/commit/gitg-commit-dialog.vala b/gitg/commit/gitg-commit-dialog.vala
index 62daf420..73a3516f 100644
--- a/gitg/commit/gitg-commit-dialog.vala
+++ b/gitg/commit/gitg-commit-dialog.vala
@@ -448,6 +448,7 @@ class Dialog : Gtk.Dialog
        construct
        {
                reverse_pos_messages = 0;
+               default_author = author;
 
                response.connect(() => {
                        save_commit_message ();
@@ -1057,7 +1058,6 @@ class Dialog : Gtk.Dialog
                      Ggit.Diff?      diff)
        {
                Object(repository: repository, author: author, diff: diff, use_header_bar: 1);
-               default_author = author;
        }
 
        public void show_infobar(string          primary_msg,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]