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
Igor Ostapenko
bbf90c4623
Makefile: set bash COMPL_DIR to FreeBSD expected defaults ( #1042 )
...
See official conventions: https://docs.freebsd.org/en/books/porters-handbook/special/#shell-completion
2023-05-04 11:19:25 +08:00
罗泽轩
2fca5edb7d
Bump version to 7.1.0-dev ( #1041 )
2023-04-26 10:29:51 +08:00
罗泽轩
d7f0fcc546
Version 7.0.0 ( #1040 )
2023-04-24 22:03:26 +08:00
罗泽轩
df825715ba
Need bash 4.0+ ( #1038 )
2023-04-19 16:57:04 +08:00
hemanth.hm
2d5b12c01f
Merge pull request #1036 from spacewander/del
...
git-delete-tag: should not be quoted
2023-03-06 18:02:52 -08:00
spacewander
753555744b
git-delete-tag: should not be quoted
...
Otherwise the whole result will be considered one tag/ref.
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2023-03-07 09:11:37 +08:00
Günther Grill
d5eaa1895b
Add the current branch git summary ( #1034 )
...
Co-authored-by: guenthgr <guenther.grill@frauscher.com>
2023-02-27 11:26:53 +08:00
Edwin Kofler
b372bab52a
chore: Improve Bash variously ( #1032 )
2023-02-21 10:03:56 +08:00
Günther Grill
a008308267
Change the oneline option to a tebular version in the git summary ( #1031 )
...
Co-authored-by: guenthgr <guenther.grill@frauscher.com>
2023-02-12 20:14:16 +08:00
Edwin Kofler
5d0fe32617
chore: Remove X-style equality comparisons ( #1028 )
2023-02-03 09:41:52 +08:00
Edwin Kofler
75d0dbff6d
chore: Various Bash improvements ( #1029 )
2023-02-03 09:41:36 +08:00
hemanth.hm
9c3343d1ee
Merge pull request #1030 from hyperupcall/fix-reset-env
...
fix: No longer pollute env with `GREP_OPTIONS`
2023-02-01 16:29:54 -08:00
Edwin Kofler
82daeb7c94
fix: No longer pollute env with GREP_OPTIONS
2023-01-30 21:00:39 -08:00
罗泽轩
73fbf8e08d
tweak editor config ( #1027 )
2023-01-28 17:15:20 +08:00
罗泽轩
36e6de10c8
revert the completion dir change on MacOS ( #1026 )
...
Fix https://github.com/tj/git-extras/issues/1018
2023-01-27 19:38:56 +08:00
Wei Lee
e1138b8190
Update gitignore.io urls to Toptal urls ( #1025 )
2023-01-27 17:49:38 +08:00
Edwin Kofler
589ef33e35
Add EditorConfig file ( #1022 )
2023-01-27 17:47:06 +08:00
Günther Grill
e4e7310c49
Make the bulk output slimmer ( #1020 )
...
Co-authored-by: guenthgr <guenther.grill@frauscher.com>
2023-01-20 18:18:10 +08:00
Edwin Kofler
4611b24320
chore: Fix more Bash inconsistencies ( #1021 )
2023-01-20 18:17:49 +08:00
Günther Grill
04eb5c04e6
Repo status overview ( #1017 )
...
Co-authored-by: guenthgr <guenther.grill@frauscher.com>
2023-01-13 13:43:03 +08:00
Piotr Górski
e29dcbb023
Replace egrep with grep -E ( #1019 )
2023-01-12 09:51:22 +08:00
Edwin Kofler
d34fa527a0
chore: More Bash improvements and removing deprecations ( #1016 )
2023-01-10 08:59:43 +08:00
Edwin Kofler
35100b4e6f
chore: Improve quoting and builtin usage ( #1015 )
2023-01-04 08:58:31 +08:00
Günther Grill
cd348dad21
Add summary fields ( #1013 )
...
Co-authored-by: guenthgr <guenther.grill@frauscher.com>
2023-01-04 08:58:16 +08:00
Günther Grill
aea25d2d4b
Fix quiet mode of the bulk command ( #1014 )
...
Co-authored-by: guenthgr <guenther.grill@frauscher.com>
2022-12-28 09:11:53 +08:00
Kurban Mallachiev
4fff03f429
git-summary: remove stray \ in grep call ( #1010 )
2022-12-19 18:02:29 +08:00
Günther Grill
7c4152ce83
Allow to run git-extras within git-bulk ( #1008 )
...
Co-authored-by: guenthgr <guenther.grill@frauscher.com>
Fix https://github.com/tj/git-extras/issues/1007
2022-12-07 13:58:18 +08:00
Áron Hoffmann
960ec8d2fd
Make git-summary accept multiple paths for the --lines argument ( #1005 )
2022-11-22 13:40:37 +08:00
罗泽轩
1426002037
Makefile: ensure bash is used instead of /bin/sh ( #1004 )
2022-11-12 12:19:35 +08:00
zhiyanfoo
193a6dd2a8
fix base branch in the pull-request command ( #1003 )
2022-11-12 12:10:57 +08:00
Joshua Li
2d1aa6daea
Update docs for git abort change ( #1000 )
2022-10-17 15:45:52 +08:00
罗泽轩
71af8cec42
Bump version to 6.6.0-dev ( #997 )
2022-10-10 10:32:37 +08:00
spacewander
3ac3c54b06
Version 6.5.0
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2022-10-06 20:33:44 +08:00
罗泽轩
584e0283f5
git root: show '.' when using with -r in the root dir ( #995 )
2022-10-06 13:56:07 +08:00
罗泽轩
62aa91f221
git standup: work as expected when no configured ( #996 )
2022-10-06 13:55:45 +08:00
Sascha Andres
25b5d734c7
rephrase question depending on switch ( #984 )
2022-10-06 13:43:35 +08:00
Joshua Li
06aa5dbb1f
Include revert conflicts in git abort ( #992 )
2022-10-06 13:26:20 +08:00
Lone
8058b1718f
fix(git-effort):fork: retry: Resource temporarily unavailable #979 ( #990 )
2022-09-25 20:04:51 +08:00
timfeirg
956781ac1b
git-sync --force will sync without interaction ( #989 )
2022-08-24 14:28:05 +08:00
罗泽轩
3b9ea70e09
Merge pull request #988 from vanpipy/feature/fix-git-cp-did-not-keep-history
...
fix(git-cp): keep the history of the files
2022-08-05 18:17:54 +08:00
vanpipy
6e6f59b264
fix(git-cp): keep the history of the files
2022-08-01 09:12:47 +08:00
罗泽轩
01e2494294
Merge pull request #987 from spacewander/fgz
...
git-bulk: previous refactor redirected $PWD to stderr by mistake
2022-07-22 09:27:10 +08:00
spacewander
e3c8359e4e
git-bulk: previous refactor redirected $PWD to stderr by mistake
...
Fix #986
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2022-07-19 14:37:33 +08:00
罗泽轩
9accb6bb04
Merge pull request #983 from SuperSandro2000/patch-1
...
Fix lazy loading bash_completion from XDG_DATA_DIRS
2022-07-12 09:04:38 +08:00
Sandro
66961ad491
Fix lazy loading bash_completion from XDG_DATA_DIRS
...
If a bash_completion file should get lazy loaded and is placed in a none standard directory which is listed in XDG_DATA_DIRS it must be placed under share/bash-completion/completions. This is for example used in home-manager.
See 730368b35a/bash_completion (L2531)
2022-07-08 11:49:58 +02:00
罗泽轩
81665422b2
Merge pull request #974 from tfendin/970-standup-author-date
...
#970 standup added -A flag for author date
2022-07-04 10:40:19 +08:00
Tobias Fendin
48ef95d104
Minor changes to man/git-standup.md
2022-07-01 16:39:27 +02:00
Tobias Fendin
bf240df083
Replaced -g and -A with -F gpg|authordate
2022-06-26 12:49:43 +02:00
罗泽轩
d597f684b1
Merge pull request #981 from pbnj/feat/browse-file
...
feat(bin/git-browse): open website at file & line number or range
2022-06-13 09:02:53 +08:00