Closed waja closed 1 year ago
Yes, I saw it, but I don't know how to fix it yet. It worked before :confused:
Would appreciate some help :)
I'll have a look into it hopefully until next weekend
Hmm ...
Debug
/usr/bin/docker exec netcat-openbsd ls -la .git
total 60
drwxr-xr-x 8 1001 121 4096 Oct 28 16:45 .
drwxr-xr-x 4 1001 121 4096 Oct 28 16:45 ..
-rw-r--r-- 1 1001 121 41 Oct 28 16:45 HEAD
drwxr-xr-x 2 1001 121 4096 Oct 28 16:45 branches
-rw-r--r-- 1 1001 121 247 Oct 28 16:45 config
-rwxr-xr-x 1 1001 121 73 Oct 28 16:45 description
drwxr-xr-x 2 1001 121 4096 Oct 28 16:45 hooks
-rw-r--r-- 1 1001 121 4604 Oct 28 16:45 index
drwxr-xr-x 2 1001 121 4096 Oct 28 16:45 info
drwxr-xr-x 2 1001 121 4096 Oct 28 16:45 logs
drwxr-xr-x 4 1001 121 4096 Oct 28 16:45 objects
-rw-r--r-- 1 1001 121 161 Oct 28 16:45 packed-refs
drwxr-xr-x 4 1001 121 4096 Oct 28 16:45 refs
-rw-r--r-- 1 1001 121 41 Oct 28 16:45 shallow
Create tarball
/usr/bin/docker exec netcat-openbsd git-deborig HEAD
pwd doesn't look like a git repository ..
He ... guess what ... I don't get what the heck is going on ...
The source code of the relevant part of git-deborig
is in https://github.com/Debian/devscripts/blob/master/scripts/git-deborig.pl#L103-L108:
# Sanity check #1
try {
$git->rev_parse({ git_dir => 1 });
} catch {
die "pwd doesn't look like a git repository ..\n";
};
Hi,
at first thanks for you work on this nice piece of software.
I discovered that
git-deborig HEAD
is failing for some repositories. It is also reproducible in you CI pipeline.Thanks, Jan