mirror of
https://github.com/jarun/nnn.git
synced 2025-01-15 13:26:37 +00:00
Update doc
This commit is contained in:
parent
10e2d37d0f
commit
a70ad9c480
|
@ -5,6 +5,7 @@ This directory contains sizable user submitted patches that were rejected from m
|
||||||
The patches will be adapted on each release when necessary (v4.1 onwards). Each patch can be applied through its respective make variable during compilation. In case inter-patch merge conflicts occur, a compatability patch is provided and will automatically be applied.
|
The patches will be adapted on each release when necessary (v4.1 onwards). Each patch can be applied through its respective make variable during compilation. In case inter-patch merge conflicts occur, a compatability patch is provided and will automatically be applied.
|
||||||
|
|
||||||
## List of patches
|
## List of patches
|
||||||
|
|
||||||
| Patch (a-z) | Description | Make var |
|
| Patch (a-z) | Description | Make var |
|
||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
| gitstatus | Add git status column to the detail view. Provides command line flag `-G` to show column in normal mode. | `O_GITSTATUS` |
|
| gitstatus | Add git status column to the detail view. Provides command line flag `-G` to show column in normal mode. | `O_GITSTATUS` |
|
||||||
|
@ -15,6 +16,8 @@ To apply a patch, use the corresponding make variable, e.g.:
|
||||||
|
|
||||||
make O_NAMEFIRST=1
|
make O_NAMEFIRST=1
|
||||||
|
|
||||||
|
## Resolving patch conflicts
|
||||||
|
|
||||||
Whenever patch conflicts occur on the latest master, pull requests resolving them are welcome. Let's say a conflict occurs in the `restorepreview` patch. The best way to resolve this conflict would be something along the lines of:
|
Whenever patch conflicts occur on the latest master, pull requests resolving them are welcome. Let's say a conflict occurs in the `restorepreview` patch. The best way to resolve this conflict would be something along the lines of:
|
||||||
|
|
||||||
- Ensure you're on latest master and run `cp src/nnn.c src/nnn.c.orig && make O_RESTOREPREVIEW=1`. This will save a copy of the source from master in `src/nnn.c.orig` and generate conflict markers in `src/nnn.c`.
|
- Ensure you're on latest master and run `cp src/nnn.c src/nnn.c.orig && make O_RESTOREPREVIEW=1`. This will save a copy of the source from master in `src/nnn.c.orig` and generate conflict markers in `src/nnn.c`.
|
||||||
|
|
Loading…
Reference in a new issue