summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorWojciech Siewierski <wojciech.siewierski@onet.pl>2019-10-01 21:56:21 +0200
committerWojciech Siewierski <wojciech.siewierski@onet.pl>2019-10-01 22:06:13 +0200
commit24a5736e3928ffe034bd733b97ba0d99990603b7 (patch)
tree6cb28f4bb02f1b78e3450dcc9fa3bcf3f6adf161
parent83b464312d02beb49743fa45ccd5380ebcdd02f9 (diff)
downloadranger-24a5736e3928ffe034bd733b97ba0d99990603b7.tar.gz
Change the commit msg truncation point
50 characters seems to be the recommended length of the Git commit
messages.
-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 c735b8f8..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'][:70], 'vcscommit')
+                left.add(directory.vcs.rootvcs.head['summary'][:50], 'vcscommit')
 
     def _get_owner(self, target):
         uid = target.stat.st_uid