Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263082 - dev-util/stgit-0.10 fails to find git-* tools with dev-util/git-1.6.0.6
Summary: dev-util/stgit-0.10 fails to find git-* tools with dev-util/git-1.6.0.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on: 268759
Blocks:
  Show dependency tree
 
Reported: 2009-03-19 22:50 UTC by Ben Mellor
Modified: 2009-08-21 20:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Mellor 2009-03-19 22:50:50 UTC
When using stg init to initialise a git repository for stacked git use, the command fails with an error message, making it impossible to use stgit.

Reproducible: Always

Steps to Reproduce:
1. mkdir /tmp/foo
2. cd /tmp/foo
3. git init
4. stg init

Actual Results:  
stg init: GIT tree not initialised: git-symbolic-ref HEAD failed (/bin/sh: git-symbolic-ref: command not found)

Expected Results:  
stg init should initialise the git repository for stacked git use, producing no output

I presume this also happens on other platforms, but I am unable to check.

dev-util/stgit-0.14.1 (the next version in portage) works correctly here, so an easy workaround is to add it to package.keywords and upgrade.

The issue seems to be that dev-util/stgit-0.10 expects git-symbolic-ref (and presumably other git tools) to be in PATH, but at some version git no longer installed these tools to the path, expecting users to use subcommands of git (e.g. git symbolic-ref) instead.

The problem is only that the stable version of dev-util/stgit doesn't work with the stable version of dev-util/git.
Comment 1 Rafał Mużyło 2009-03-19 23:30:47 UTC
So this is probably a stable request.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-05-05 19:19:10 UTC
This should never have been assigned to ferdy in the first place, as he was already retired when it was opened. There's a stabilization bug open now.
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2009-08-21 20:33:07 UTC
Isn't in the tree anymore.
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2009-08-21 20:44:43 UTC
Reopen to change resolution type.
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2009-08-21 20:44:56 UTC
fixed for gentoo.