From dc4e5946dfd10fd8f6251257c52161615f7c1841 Mon Sep 17 00:00:00 2001 From: Catalin Marinas Date: Wed, 21 Feb 2007 18:30:30 +0000 Subject: [PATCH] Display whether the patch is empty after refresh Signed-off-by: Catalin Marinas --- stgit/commands/refresh.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/stgit/commands/refresh.py b/stgit/commands/refresh.py index 7a9bf7d..4cf09ae 100644 --- a/stgit/commands/refresh.py +++ b/stgit/commands/refresh.py @@ -144,7 +144,10 @@ def func(parser, options, args): committer_email = options.commemail, backup = True, sign_str = sign_str) - print 'done' + if crt_series.empty_patch(patch): + print 'done (empty patch)' + else: + print 'done' if options.patch: between.reverse() -- 2.11.4.GIT