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 62481de98fa29dc9ceffe32307694566cd363046

Fix dumping Default colorscheme wrt OtherLine
Can't represent backward compatible behaviour in command, ignore it
on dump.
Author: xaizek
Author date (UTC): 2014-10-24 20:28
Committer name: xaizek
Committer date (UTC): 2014-10-24 20:28
Parent(s): f9a153947487baca1dcec9cd800b5d4197e0ea62
Signing key:
Tree: 1367ac60ab763b2404f39cc00fccb8f663c0c144
File Lines added Lines deleted
ChangeLog 3 0
src/color_scheme.c 6 1
src/color_scheme.h 2 0
File ChangeLog changed (mode: 100644) (index 6efafe0a5..35c977062)
33 33 Fixed error handling regarding vifmrc-converter. Thanks to Hendrik Fixed error handling regarding vifmrc-converter. Thanks to Hendrik
34 34 Jaeger (a.k.a. henk). Jaeger (a.k.a. henk).
35 35
36 Fixed dumping Default colorscheme with regard to OtherLine highlight
37 group.
38
36 39 0.7.7 to 0.7.8-beta 0.7.7 to 0.7.8-beta
37 40
38 41 Removed ltmain.sh script, which is part of libtool, which is not used Removed ltmain.sh script, which is part of libtool, which is not used
File src/color_scheme.c changed (mode: 100644) (index c1ac0fcf6..216e3b884)
... ... color_scheme_exists(const char name[])
394 394 return is_regular_file(full_path); return is_regular_file(full_path);
395 395 } }
396 396
397 /* This function is called only when colorschemes file doesn't exist */
398 397 void void
399 398 write_color_scheme_file(void) write_color_scheme_file(void)
400 399 { {
 
... ... write_color_scheme_file(void)
459 458 { {
460 459 char fg_buf[16], bg_buf[16]; char fg_buf[16], bg_buf[16];
461 460
461 if(y == OTHER_LINE_COLOR)
462 {
463 /* Skip OtherLine as there is no way to express defaults. */
464 continue;
465 }
466
462 467 color_to_str(cfg.cs.color[y].fg, sizeof(fg_buf), fg_buf); color_to_str(cfg.cs.color[y].fg, sizeof(fg_buf), fg_buf);
463 468 color_to_str(cfg.cs.color[y].bg, sizeof(bg_buf), bg_buf); color_to_str(cfg.cs.color[y].bg, sizeof(bg_buf), bg_buf);
464 469
File src/color_scheme.h changed (mode: 100644) (index dde95595d..7d0b7c850)
... ... void check_color_scheme(col_scheme_t *cs);
84 84
85 85 void assoc_dir(const char *name, const char *dir); void assoc_dir(const char *name, const char *dir);
86 86
87 /* Aborts if color schemes directory exists, otherwise creates one containing
88 * "Default" color scheme. */
87 89 void write_color_scheme_file(void); void write_color_scheme_file(void);
88 90
89 91 /* Converts color specified by an integer to a string and writes result in a /* Converts color specified by an integer to a string and writes result in a
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