Package Details: git-extras 7.0.0-1

Git Clone URL: (read-only, click to copy)
Package Base: git-extras
Description: GIT utilities -- repo summary, commit counting, repl, changelog population and more
Upstream URL:
Licenses: MIT
Submitter: Schnouki
Maintainer: liljaylj (alerque)
Last Packager: liljaylj
Votes: 81
Popularity: 2.82
First Submitted: 2010-08-26 12:33 (UTC)
Last Updated: 2023-04-25 07:37 (UTC)

Required by (0)

Sources (1)

Latest Comments

1 2 3 Next › Last »

tfl5034 commented on 2023-02-22 03:38 (UTC)

I am not sure I understand the comment in the PKGBUILD but why not install the fish completions to /usr/share/fish/vendor_completions.d as mentioned in the fish docs?

alerque commented on 2021-11-15 18:42 (UTC)

@liljayli I was the one that filed an orphan request for this. I missed adopting it by a few hours. Deep down in the comment history you can see I have some involvement is sorting out conflicts as well. Would you mind if I join you as a co-maintainer?

duckunix commented on 2021-10-03 01:44 (UTC)

Patch for latest version:

diff --git a/PKGBUILD b/PKGBUILD
index b0b462a..ebdd0f1 100644
@@ -4,7 +4,7 @@
 # All my PKGBUILDs are managed at

 pkgdesc="GIT utilities -- repo summary, commit counting, repl, changelog population and more"
@@ -12,8 +12,8 @@ url="${pkgname}"

 package() {
     cd "${srcdir}/${pkgname}-${pkgver}"

eschwartz commented on 2021-04-15 17:28 (UTC) (edited on 2021-04-15 17:29 (UTC) by eschwartz)

The upstream Makefile doesn't deploy it either, because there's not exactly a defined place for such a thing. I'm not inventing some undocumented file location which no one knows about, myself, and I'm not going to spam users who don't care about zsh in order to tell them how to work around the failure to use zsh's completion system.

If I added it to the docdir, I'm definitely not going to add an install script mentioning it.

However, installing it as documentation seems like a reasonable compromise to make, so I guess I'm willing to retract my previous protests against "inventing some undocumented file location". It will be up to users to discover it for themselves...

yochananmarqos commented on 2021-04-15 16:29 (UTC) (edited on 2021-04-15 16:35 (UTC) by yochananmarqos)

@eschwartz: If nothing else, they could be installed to /usr/share/doc/git-extras/completions/ so a user can copy them from there.

eschwartz commented on 2020-10-15 19:34 (UTC)

Upstream added fish completions which are not installed, to go with existing zsh completions which are not installed.

There are many comments below about the zsh ones. The new fish ones seem to be in the same boat...

fish documentation claims you can only install vendor_completions.d/*.fish for the command being completed, no autoloading if the command is "git" not "git-extras".

So there is nowhere to install this. Unless you have a suggestion that does NOT require users to source it in their ~/.zshrc or ~/.config/fish/

liljaylj commented on 2020-10-15 18:45 (UTC)

upstream added zsh and fish completions

could you please add them to this package

numToStr commented on 2020-07-13 05:05 (UTC)

Please update to v6.

eschwartz commented on 2020-03-26 15:43 (UTC) (edited on 2020-03-26 16:17 (UTC) by eschwartz)

That's a pretty annoying trick. :/

Instead of a patch, I could set GIT_CONFIG=/dev/null make ... which would cause the Makefile to simply never find any aliases.

EDIT: done. No pkgrel update, if you managed to build it before (after maybe pressing "y") then you don't need to rebuild anyway, but this should make it more convenient in the future.

SpotlightKid commented on 2020-03-26 15:09 (UTC)

I always get this annoying prompt when building the package:

git-squash conflicts with an alias, still install it and disable the alias? [y/n]y

because I have an alias called squash in my git config.

IMHO the way the package is built should not depend on the user's configuration and certainly shouldn't it prompt unexpectedly for something interactively.

I suggest patching out lines 47-51 of the Makefile to remove this check.