Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 304737

Summary: Git bash-completion errors on non-gitlized directory.
Product: Gentoo Linux Reporter: Cheng <chenggn>
Component: [OLD] DevelopmentAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: major CC: tommy
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Cheng 2010-02-12 16:16:44 UTC
On a directory without git enabled, git bash-completion has a fatal error message.



Reproducible: Always

Steps to Reproduce:
1. Enable git bashcomp
2. Type `git <tab>`

Actual Results:  
# git <tab>fatal: error processing config file(s)
fatal: error processing config file(s)

add                 commit              init                request-pull 
am                  config              instaweb            reset 
... ...

Expected Results:  
No fatal error should happen here.
Comment 1 Thomas Sachau gentoo-dev 2010-03-12 14:13:50 UTC
Please attache your emerge --info and emerge -pv git
Comment 2 Cheng 2010-03-15 06:10:15 UTC
I've found the error is caused by the absent of ~/.gitconfig.

That machine is currently unavailable, so I can't provider further infos for now.


(In reply to comment #1)
> Please attache your emerge --info and emerge -pv git
> 

Comment 3 Ben de Groot (RETIRED) gentoo-dev 2010-03-23 19:39:28 UTC
From what I understand this is not a bug, but expected behavior. You could file a bug upstream with the git developers to provide a more meaningful error message maybe.