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 b2c5168664ac02f138bcb1b9332537a4b817924c

Fix bug with unfinished :s or :gs fname modifiers
Author: xaizek
Author date (UTC): 2012-02-18 12:33
Committer name: xaizek
Committer date (UTC): 2012-02-18 17:45
Parent(s): 821aeb4cc6fb81401a3d2c790ba98a563f10b76d
Signing key:
Tree: 4645d639f725b8810a6a61199bfcad3d23abd23e
File Lines added Lines deleted
ChangeLog 2 0
src/commands.c 5 2
File ChangeLog changed (mode: 100644) (index b59115dd0..c0aa48a83)
153 153
154 154 Fixed segfault on small window on Windows. Fixed segfault on small window on Windows.
155 155
156 Fixed bug with unfinished :s or :gs filename modifier.
157
156 158 0.7.0 to 0.7.1 0.7.0 to 0.7.1
157 159
158 160 Added 'scrollbind' option. Added 'scrollbind' option.
File src/commands.c changed (mode: 100644) (index 1f2ba3149..d7f9fa012)
... ... expand_macros(FileView *view, const char *command, const char *args,
2088 2088 if(p != NULL) if(p != NULL)
2089 2089 y += (p - (command + x)) + 1; y += (p - (command + x)) + 1;
2090 2090 else else
2091 y += strlen(command);
2091 y += strlen(command + y);
2092 2092 x = y; x = y;
2093 2093 continue; continue;
2094 2094 } }
2095 2095 } }
2096 2096 if(command[x] == '%') if(command[x] == '%')
2097 2097 break; break;
2098 x++;
2098 if(command[x] != '\0')
2099 x++;
2099 2100 } }
2101 assert(x >= y);
2102 assert(y <= cmd_len);
2100 2103 expanded = realloc(expanded, len + cmd_len + 1); expanded = realloc(expanded, len + cmd_len + 1);
2101 2104 strncat(expanded, command + y, x - y); strncat(expanded, command + y, x - y);
2102 2105 len = strlen(expanded); len = strlen(expanded);
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