Package Details: git-completion 2.0-1

Git Clone URL: https://aur.archlinux.org/git-completion.git (read-only, click to copy)
Package Base: git-completion
Description: Git completions for zsh and bash
Upstream URL: https://github.com/felipec/git-completion
Keywords: bash completion zsh
Licenses: GPL2
Submitter: felipec
Maintainer: felipec
Last Packager: felipec
Votes: 6
Popularity: 0.192522
First Submitted: 2021-01-01 01:22 (UTC)
Last Updated: 2023-04-01 09:47 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

felipec commented on 2021-04-19 08:57 (UTC)

AFAICR the tests do require bash. The only thing I can think of is that your version of git is different than mine.

ElijahLynn commented on 2021-03-26 15:47 (UTC) (edited on 2021-03-26 17:50 (UTC) by ElijahLynn)

Tried to install this just now and got error:

# failed 1 among 66 test(s)
1..66
make[1]: *** [Makefile:11: prompt.t] Error 1
make[1]: Leaving directory '/home/elijah/.cache/yay/git-completion/src/git-completion/test'
make: *** [Makefile:8: test] Error 2
==> ERROR: A failure occurred in check().
    Aborting...
error making: git-completion

The error is:

ok 13 - prompt - inside bare repository                                 
not ok 14 - prompt - interactive rebase                                 
#                                                                       
#               printf " (b1|REBASE 2/3)" >expected &&                  
#               write_script fake_editor.sh <<-\EOF &&                  
#                       echo "exec echo" >"$1"                          
#                       echo "edit $(git log -1 --format="%h")" >>"$1"  
#                       echo "exec echo" >>"$1"                         
#               EOF                                                     
#               test_when_finished "rm -f fake_editor.sh" &&            
#               test_set_editor "$TRASH_DIRECTORY/fake_editor.sh" &&    
#               git checkout b1 &&                                      
#               test_when_finished "git checkout master" &&             
#               git rebase -i HEAD^ &&                                  
#               test_when_finished "git rebase --abort" &&              
#               __git_ps1 >"$actual" &&                                 
#               test_cmp expected "$actual"                             
#                                                                       
ok 15 - prompt - rebase merge                                           

I tried this install in both fish shell and bash shell thinking that maybe it was because of shell detection. I also used yay git-completion to install.

Opened upstream issue: https://github.com/felipec/git-completion/issues/2