From 9d86a739ba8cb772498e7911758950d72fab80e0 Mon Sep 17 00:00:00 2001 From: David Aguilar Date: Sun, 20 Apr 2008 00:52:05 -0700 Subject: [PATCH] controllers: do not require modified files when amending Signed-off-by: David Aguilar --- ugit/controllers/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ugit/controllers/__init__.py b/ugit/controllers/__init__.py index 72ebdb97..484b8133 100644 --- a/ugit/controllers/__init__.py +++ b/ugit/controllers/__init__.py @@ -314,7 +314,7 @@ class Controller(QObserver): return files = self.model.get_staged() - if not files: + if not files and not self.view.amend_radio.isChecked(): error_msg = self.tr("" + "No changes to commit.\n" + "\n" -- 2.11.4.GIT