From ca19d4294894ce68b8c0f340e949ac4c01129639 Mon Sep 17 00:00:00 2001 From: extrawurst Date: Wed, 23 Nov 2022 15:31:37 +0100 Subject: [PATCH] follow up to 9b46bb6 (see #1420) add standard "Changs to be commited" text on top of changes. --- src/components/commit.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/commit.rs b/src/components/commit.rs index 929d02391f..399f22e700 100644 --- a/src/components/commit.rs +++ b/src/components/commit.rs @@ -171,6 +171,8 @@ impl CommitComponent { .as_bytes(), )?; + file.write_all(b"\n#\n# Changes to be commited:")?; + for change in changes { let status_char = Self::item_status_char(change.status);