diff options
author | Toon Nolten <toonn@toonn.io> | 2019-10-01 22:12:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-01 22:12:24 +0200 |
commit | 11087fd48f4fcbec9112a25d77eec0a5b2211d9f (patch) | |
tree | 6cb28f4bb02f1b78e3450dcc9fa3bcf3f6adf161 | |
parent | bb2b2e887b1cba76a0b55a0fef99f28ddd39ea95 (diff) | |
parent | 24a5736e3928ffe034bd733b97ba0d99990603b7 (diff) | |
download | ranger-11087fd48f4fcbec9112a25d77eec0a5b2211d9f.tar.gz |
Merge pull request #1705 from Vifon/vcs-truncate
Truncate the VCS commit message
-rw-r--r-- | ranger/gui/widgets/statusbar.py | 2 |
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 |