xaizek / vifm (License: GPLv2+) (since 2018-12-07)
Vifm is a file manager with curses interface, which provides Vi[m]-like environment for managing objects within file systems, extended with some useful ideas from mutt.
Commit e379e3b285c90e4f4673b3ad3da324bae4cc95b0

Show messege when trying to explore empty file
Author: xaizek
Author date (UTC): 2012-02-18 13:01
Committer name: xaizek
Committer date (UTC): 2012-02-18 17:45
Parent(s): 5e0b3998be9e048ab997589fa61a328ffd1d26f1
Signing key:
Tree: c4b3f2f81b5b1bc496cf8860d7df679cbcb7a73a
File Lines added Lines deleted
src/view.c 3 0
File src/view.c changed (mode: 100644) (index fafe9d60a..85203dc15)
... ... enter_view_mode(int explore)
231 231 fclose(fp); fclose(fp);
232 232
233 233 if(vi->lines == NULL) if(vi->lines == NULL)
234 {
235 (void)show_error_msg("File exploring", "Wont explore empty file");
234 236 return; return;
237 }
235 238 vi->widths = malloc(sizeof(*vi->widths)*vi->nlines); vi->widths = malloc(sizeof(*vi->widths)*vi->nlines);
236 239 if(vi->widths == NULL) if(vi->widths == NULL)
237 240 { {
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/vifm

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/vifm

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master