chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
777fa0d
)
git-debrebase: make_patches_staged: Return flag, are there any patches?
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 25 Aug 2018 12:21:51 +0000
(13:21 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 25 Aug 2018 12:21:51 +0000
(13:21 +0100)
All callers currently ignore the return value, so NFC.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
git-debrebase
patch
|
blob
|
history
diff --git
a/git-debrebase
b/git-debrebase
index a0fc2aaa63fbd7f85795a45b299a691606d200ac..74e50768deaac7d7d43b487254a6aade0dcc1a5e 100755
(executable)
--- a/
git-debrebase
+++ b/
git-debrebase
@@
-2398,9
+2398,11
@@
sub make_patches_staged ($) {
# laundered.
my ($secret_head, $secret_bw, $last_anchor) = walk $head;
fresh_workarea();
+ my $any;
in_workarea sub {
- gbp_pq_export 'bw', $secret_bw, $secret_head;
+
$any =
gbp_pq_export 'bw', $secret_bw, $secret_head;
};
+ return $any;
}
sub make_patches ($) {