Package Details: git-completion 1.3-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: GPLv2
Submitter: felipec
Maintainer: felipec
Last Packager: felipec
Votes: 3
Popularity: 0.37
First Submitted: 2021-01-01 01:22
Last Updated: 2021-01-01 01:22

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

ElijahLynn commented on 2021-03-26 15:47

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