summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorToon Nolten <toonn@toonn.io>2019-10-01 22:12:24 +0200
committerGitHub <noreply@github.com>2019-10-01 22:12:24 +0200
commit11087fd48f4fcbec9112a25d77eec0a5b2211d9f (patch)
tree6cb28f4bb02f1b78e3450dcc9fa3bcf3f6adf161 /ranger
parentbb2b2e887b1cba76a0b55a0fef99f28ddd39ea95 (diff)
parent24a5736e3928ffe034bd733b97ba0d99990603b7 (diff)
downloadranger-11087fd48f4fcbec9112a25d77eec0a5b2211d9f.tar.gz
Merge pull request #1705 from Vifon/vcs-truncate
Truncate the VCS commit message
Diffstat (limited to 'ranger')
-rw-r--r--ranger/gui/widgets/statusbar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/widgets/statusbar.py b/ranger/gui/widgets/statusbar.py
index 71064ed4..19113012 100644
--- a/ranger/gui/widgets/statusbar.py
+++ b/ranger/gui/widgets/statusbar.py
@@ -212,7 +212,7 @@ class StatusBar(Widget):  # pylint: disable=too-many-instance-attributes
                 left.add_space()
                 left.add(directory.vcs.rootvcs.head['date'].strftime(self.timeformat), 'vcsdate')
                 left.add_space()
-                left.add(directory.vcs.rootvcs.head['summary'], 'vcscommit')
+                left.add(directory.vcs.rootvcs.head['summary'][:50], 'vcscommit')
 
     def _get_owner(self, target):
         uid = target.stat.st_uid