Package: git-buildpackage
Version: 0.6.0~git20120415
In recent versions of git (e.g., git 1.7.10) submodules are created
with .git files which are not directories but rather contain simple
redirection information. Example:
$ cat .git
gitdir: ../.git/modules/ivtools
Although git itself knows what is going on, this confuses
git-import-orig.
$ git-import-orig ../../ivtools_1.2.10.orig.tar.gz
What is the upstream version? [1.2.10]
gbp:info: Importing '../../ivtools_1.2.10.orig.tar.gz' to branch 'upstream'...
gbp:info: Source package is ivtools
gbp:info: Upstream version is 1.2.10
fatal: Unable to create
'/home/barak/src/git/debian-src/ivtools/.git/gbp_index.lock': Not a directory
gbp:error: Couldn't run git add: git returned 128
gbp:error: Import of ../../ivtools_1.2.10.orig.tar.gz failed
Doubtless there is a "correct" git command for porcelain commands to
use to get a pointer to the "true git directory", which is cognizant
of options like --git-dir and the many relevant environment variables.
--Barak.
--
Barak A. Pearlmutter
Hamilton Institute & Dept Comp Sci, NUI Maynooth, Co. Kildare, Ireland
http://www.bcl.hamilton.ie/~barak/
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]