git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: bash_completion outside repo

From
JBjames bardin <jbardin@bu.edu>
Date
Sep 11, 2009, 14:00 UTC
Message-ID
<a3b675320909110700k7eb7286qc8cb5691aae214c7@mail.gmail.com>
In-Reply-To
<20090911133313.GF2582@inocybe.localdomain>
On Fri, Sep 11, 2009 at 9:33 AM, Todd Zullinger <tmz@pobox.com> wrote:
Show 8 quoted lines
> james bardin wrote:
>> I'm making a git rpm for our site, and I'm getting an error with
>> bash_completion on RHEL/CentOS 5.
>
> Out of curiosity, have you tried rebuilding the Fedora packages from
> rawhide?  They should work on RHEL/CentOS 5 just fine (I use them
> myself).
>

I was trying to prune out some of the dependencies to make internal deployment easier. I bundled the doc tarballs instead of requiring asciidoc, and git includes its own perl(Error) if it's not available.

On Fri, Sep 11, 2009 at 9:11 AM, Michael J Gruber <git@drmicha.warpmail.net> wrote:

Show 5 quoted lines
> I can't reproduce this with git version 1.6.5.rc0.164.g5f6b0 on Fedora 11.
>
> Which exact steps reproduce it for you, and which relevant settings (PS1
> and GIT_PS1_...) do you use? Do you have a system or global .gitconfig?
>

I did a make install, and dropped the completion file in /etc/bash_completion.d/. No other settings changed. I did a quick check, and it happens with the current 1.6.5 snapshot too, and on a fedora 10 box I found.

It seems I only get this error if I don't have a global config. Touching ~/.gitconfig stops the error.

Previous: Todd ZullingerNext: Jeff King
Message 4 of 20 in “bash_completion outside repo”
  1. james bardinSep 10, 2009
  2. Michael J GruberSep 11, 2009
  3. Todd ZullingerSep 11, 2009
  4. james bardinSep 11, 2009
  5. Jeff KingSep 11, 2009
  6. Shawn O. PearceSep 11, 2009
  7. Jeff KingSep 11, 2009
  8. Jeff KingSep 11, 2009
  9. Junio C HamanoSep 11, 2009
  10. Jeff KingSep 11, 2009
  11. Junio C HamanoSep 11, 2009
  12. Jeff KingSep 11, 2009
  13. Junio C HamanoSep 11, 2009
  14. Junio C HamanoSep 11, 2009
  15. Jeff KingSep 11, 2009
  16. completion: Replace config --list with --get-regexpTodd Zullinger, Sep 11, 2009
  17. Shawn O. PearceSep 12, 2009
  18. Bert WesargSep 13, 2009
  19. Todd ZullingerSep 13, 2009
  20. Junio C HamanoSep 13, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.