summaryrefslogtreecommitdiff
path: root/bin/git-branchmove
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2019-12-06 17:49:32 -0700
committerSean Whitton <spwhitton@spwhitton.name>2019-12-06 17:49:32 -0700
commit14578c9a122d28d36fe4213dc00449b675e02058 (patch)
tree1931291ea6b8c77bc74561e9cceb9625681a72ee /bin/git-branchmove
parentb2278ee9db7819f061740c8f38053db78575035f (diff)
downloaddotfiles-14578c9a122d28d36fe4213dc00449b675e02058.tar.gz
add some \n to dies
Diffstat (limited to 'bin/git-branchmove')
-rwxr-xr-xbin/git-branchmove4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/git-branchmove b/bin/git-branchmove
index c9c0ff4d..7eb0155d 100755
--- a/bin/git-branchmove
+++ b/bin/git-branchmove
@@ -139,7 +139,7 @@ if ($op eq 'put') {
}
# do we have anything to move?
-die "git-branchmove: nothing to do" unless @source_branches;
+die "git-branchmove: nothing to do\n" unless @source_branches;
# check for deleting the current branch on the source
my $source_head;
@@ -170,7 +170,7 @@ if (defined $source_head and grep /^\Q$source_head\E$/,
}
}
} else {
- die "git-branchmove: would delete checked-out branch $source_head";
+ die "git-branchmove: would delete checked-out branch $source_head\n";
}
}