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 220b507bfade2d974586e4be6d9243334cedfce9

Add safety check for :copy, etc. operations
Don't let '!' be used when destination and source directory has same
path.
Author: xaizek
Author date (UTC): 2011-11-13 21:46
Committer name: xaizek
Committer date (UTC): 2011-11-13 21:46
Parent(s): 66938b797b8660165884e515e9e863de46f36dd3
Signing key:
Tree: 3d00e35814cf604dd5f7b27b200c91114db57ea3
File Lines added Lines deleted
src/fileops.c 8 0
File src/fileops.c changed (mode: 100644) (index 376347dd7..bfd32a8a4)
... ... cpmv_files(FileView *view, char **list, int nlines, int move, int type,
3377 3377 if(i != 0) if(i != 0)
3378 3378 return i > 0; return i > 0;
3379 3379
3380 if(pane_in_dir(other_view, path) && force)
3381 {
3382 (void)show_error_msg("Operation Error",
3383 "Forcing overwrite when destination and source is same directory will "
3384 "lead to losing data");
3385 return 0;
3386 }
3387
3380 3388 sel_len = view->selected_files; sel_len = view->selected_files;
3381 3389 sel = copy_string_array(view->selected_filelist, sel_len); sel = copy_string_array(view->selected_filelist, sel_len);
3382 3390 if(!view->user_selection) if(!view->user_selection)
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