lp:nano
- Get this branch:
- bzr branch lp:nano
Branch merges
Branch information
Import details
This branch is an import of the HEAD branch of the Git repository at git://git.sv.gnu.org/nano.git.
Last successful import was .
Recent revisions
- 10020. By Benno Schulenberg
-
docs: remove the two notices about the changed defaults
It has been more than three years since version 4.0 was released,
the moment that the defaults for line wrapping, smooth scrolling,
and the size of the editing window were changed.Keep the note in the texi manual, though, as it is less in the way,
and the manual generally contains more info than the man pages. - 10019. By Benno Schulenberg
-
docs: stop mentioning the obsoleted keywords that were removed
But keep the note about --suspendable, as it has been obsoleted rather
recentl. Move it to the NOTES section. - 10018. By LH_Mouse
-
build: ignore errors from `git describe`
Due to CVE-2022-24765, Git refuses to operate on local repositories if
it runs as a different user from its owner. Since version 2.35.2:$ sudo git describe --tags
fatal: unsafe repository ('/home/lh_mouse/ GitHub/ nano-win' is owned by someone else)
To add an exception for this directory, call:git config --global --add safe.directory /home/lh_
mouse/GitHub/ nano-win Conventionally, a user, who wishes to build and install nano from Git,
does this:$ ./configure
$ make
$ sudo make installThe first `make` command builds the program as the current user.
The `make install` then installs the built files.However, we have a recipe for 'revision.h' that is always executed,
even in the case of `make install`. As here it is run as root, Git
actually fails and produces an empty string. This causes `make install`
to rebuild nano.o and winio.o and results in an empty version string in
the upper left corner.The solution is simple: First we attempt a dryrun of `git describe`.
If it fails, 'revision.h', which should have been updated by the first
`make` command, will be left intact.Reference: https:/
/nvd.nist. gov/vuln/ detail/ CVE-2022- 24765 Signed-off-by: LIU Hao <lh_mouse@126.com>
- 10017. By Benno Schulenberg
-
version: condense the copyright message, to not dominate the output
It is enough to mention the year of the current release in the copyright
statement -- no need to specify the historical range of years. - 10016. By Benno Schulenberg
-
docs: rename README.GIT to README.hacking, so it's clearer what is meant
- 10014. By Benno Schulenberg
-
syntax: default: do not colorize a square or angle bracket after a URL
Sometimes a URL is wrapped in [] or <> brackets -- the closing ] or >
is not part of the URL and should not be colored.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)