The following commit has been merged in the master branch:
commit c4eadd0e0f2aca06aa477eab62cbcc3028dcf2e8
Author: Joey Hess <[email protected]>
Date:   Sun Jul 25 14:20:41 2010 -0400

    dpkg-source: fix path to gitshallow file in source format "3.0 (git)"
    
    It was looking in the current directory, which works most of the time,
    but not always.

diff --git a/scripts/Dpkg/Source/Package/V3/git.pm 
b/scripts/Dpkg/Source/Package/V3/git.pm
index c7429c1..de80b4e 100644
--- a/scripts/Dpkg/Source/Package/V3/git.pm
+++ b/scripts/Dpkg/Source/Package/V3/git.pm
@@ -225,7 +225,7 @@ sub do_extract {
         # Move shallow info file into place, so git does not
         # try to follow parents of shallow refs.
         info(_g("setting up shallow clone"));
-        system("cp", "-f",  $shallow, "$newdirectory/.git/shallow");
+        system("cp", "-f",  $dscdir.$shallow, "$newdirectory/.git/shallow");
         $? && subprocerr("cp");
     }
 

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to