chiark / gitweb /
dgit: rename unpack_playtree_mk_cd_work (from _mkwork)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 26 May 2019 10:26:07 +0000 (11:26 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 28 Jun 2019 11:45:38 +0000 (12:45 +0100)
This makes the effect on cwd less confusing.

No functional change.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit

diff --git a/dgit b/dgit
index 66b16bbf8d7bcca902dc6e8d072c4385b3bf8db1..149345dd23073630b932e9953d955b072750d898 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -5850,7 +5850,7 @@ END
     }
 }
 
-sub unpack_playtree_mkwork ($) {
+sub unpack_playtree_mk_cd_work ($) {
     my ($headref) = @_;
 
     mkdir "work" or confess "$!";
@@ -5904,7 +5904,7 @@ sub quilt_fixup_singlepatch ($$$) {
     # necessary to build the source package.
 
     unpack_playtree_linkorigs($upstreamversion, sub { });
-    unpack_playtree_mkwork($headref);
+    unpack_playtree_mk_cd_work($headref);
 
     rmtree("debian/patches");
 
@@ -6026,7 +6026,7 @@ sub quilt_check_splitbrain_cache ($$) {
        "refs/$splitbraincache", $splitbrain_cachekey;
 
     if ($cachehit) {
-       unpack_playtree_mkwork($headref);
+       unpack_playtree_mk_cd_work($headref);
        my $saved = maybe_split_brain_save $headref, $cachehit, "cache-hit";
        if ($cachehit ne $headref) {
            progress f_ "dgit view: found cached (%s)", $saved;
@@ -6145,7 +6145,7 @@ END
 
     changedir '..';
 
-    unpack_playtree_mkwork($headref);
+    unpack_playtree_mk_cd_work($headref);
 
     my $mustdeletepc=0;
     if (stat_exists ".pc") {
@@ -6722,7 +6722,7 @@ sub build_source {
         unless ($split_brain) {
             my $upstreamversion = upstreamversion $version;
             unpack_playtree_linkorigs($upstreamversion, sub { });
-            unpack_playtree_mkwork($headref);
+            unpack_playtree_mk_cd_work($headref);
             changedir '..';
         }
     } else {