Quite a lot of extras for git. git-release, git-ignore, git-setup, git-changelog, git-effort, and more.
git
Go to file
Igor Ostapenko 6d73f74f83
Makefile: tune MANPREFIX configuration for FreeBSD (#1043)
We could think of the following use cases:

1. User installs git-extras from official port/pkg. man/man* structure
is quite common among different systems, but location of man/ itself can
be different. FreeBSD Ports framework setups MANPREFIX to PREFIX by
default, i.e. it's /usr/local. The idea is that software may provide
different man/man* sections, with final path being /usr/local/man/man*.
In contrast, git-extras' Makefile process simplifies the things due to
it works with section 1 only, and expects MANPREFIX to be set down to
man/man1 path. For this reason, installation via FreeBSD Ports requires
unconditional man path configuration like this:

    ifeq ($(OS), FreeBSD)
        MANPREFIX = "$(PREFIX)/man/man1"

Otherwise, the path will be incorrect. And this is how official FreeBSD
port of git-extras has been fixing this difference for many years.

2. End user installs git-extras manually. There are two sub-cases:

  2.a. User explicitly defines custom MANPREFIX. Okay, it's user's
  decision -- nothing to do here, just follow as is.

  2.b. User does not define custom paths, i.e. it's expected to be
  installed according to FreeBSD defaults. And default values in
  git-extras' Makefile forms the expected correct path.

This change supports all the cases above, with the goal to avoid wrong
man path for the most of the situations. As long as official git-extras
make process tries to support FreeBSD, this change allows to omit extra
patching for FreeBSD Ports framework.
2023-05-05 09:46:38 +08:00
.github/workflows Add EditorConfig file (#1022) 2023-01-27 17:47:06 +08:00
bin Bump version to 7.1.0-dev (#1041) 2023-04-26 10:29:51 +08:00
etc Update docs for git abort change (#1000) 2022-10-17 15:45:52 +08:00
helper fix: No longer pollute env with GREP_OPTIONS 2023-01-30 21:00:39 -08:00
man Add the current branch git summary (#1034) 2023-02-27 11:26:53 +08:00
.editorconfig tweak editor config (#1027) 2023-01-28 17:15:20 +08:00
AUTHORS Version 7.0.0 (#1040) 2023-04-24 22:03:26 +08:00
brew-release.patch chore: More Bash improvements and removing deprecations (#1016) 2023-01-10 08:59:43 +08:00
check_dependencies.sh updates per request of spacewander 2022-05-05 11:19:30 -04:00
check_integrity.sh improve the quality of the integrity check. 2019-08-18 11:46:00 +08:00
Commands.md Add the current branch git summary (#1034) 2023-02-27 11:26:53 +08:00
CONTRIBUTING.md implement fish completions file 2020-07-27 15:45:37 +10:00
History.md Version 7.0.0 (#1040) 2023-04-24 22:03:26 +08:00
install.cmd read COMMANDS_WIHOUT_REPO from not_need_git_repo file 2019-12-09 17:13:56 +01:00
install.sh Switch from using /tmp to using mktemp 2019-09-05 12:41:45 +08:00
Installation.md Need bash 4.0+ (#1038) 2023-04-19 16:57:04 +08:00
LICENSE Mention initial copyright year and add contributors to copyright 2016-01-30 17:30:04 +05:30
Makefile Makefile: tune MANPREFIX configuration for FreeBSD (#1043) 2023-05-05 09:46:38 +08:00
need_git_commit git-back: removed 2020-08-28 22:23:41 +08:00
not_need_git_repo misc: sort command list in alphabetical order 2018-11-03 12:36:25 +08:00
Readme.md Updated Readme.md after review 2022-01-03 16:13:28 +01:00

Git Extras

Little git extras.

Screencasts

Just getting started? Check out these screencasts:

  • introduction -- covering git-ignore, git-setup, git-changelog, git-release, git-effort and more

Installation

See Installation page.

Commands

Go to Commands page for basic usage and examples.

GIT utilities -- repo summary, repl, changelog population, author commit percentages and more

Contributing

Interested in contributing? Awesome!

Please read Contributing before you make a PR, thanks!

The change of the default branch

As of Git Extras 6.4 the assumed default branch name changed from master to main. This affects the Git Extras commands git archive-file, git delete-merged-branches, git delta, git pull-request, git show-merged-branches, git show-unmerged-branches and git squash.

To change the default branch name to master: change either the configuration git-extras.default-branch or init.defaultBranch to master, the former takes precedence.

For example, git config git-extras.default-branch master