* [PATCH] cindex: fix missing semicolon on broken $GIT_DIR/objects
@ 2023-11-14 16:17 Eric Wong
0 siblings, 0 replies; 2+ messages in thread
From: Eric Wong @ 2023-11-14 16:17 UTC (permalink / raw)
To: meta
Noticed while working on another feature...
---
lib/PublicInbox/CodeSearchIdx.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/PublicInbox/CodeSearchIdx.pm b/lib/PublicInbox/CodeSearchIdx.pm
index 4ed5ea64..9ceef16c 100644
--- a/lib/PublicInbox/CodeSearchIdx.pm
+++ b/lib/PublicInbox/CodeSearchIdx.pm
@@ -865,7 +865,7 @@ sub prep_alternate_start {
my ($git_dir, $run_prune) = @_;
my $o = $git_dir.'/objects';
while (!-d $o) {
- $git_dir = shift(@PRUNE_QUEUE) // return
+ $git_dir = shift(@PRUNE_QUEUE) // return;
$o = $git_dir.'/objects';
}
my $cmd = [ 'git', "--git-dir=$git_dir",
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] cindex: fix missing semicolon on broken $GIT_DIR/objects
@ 2023-11-14 18:58 Eric Wong
0 siblings, 0 replies; 2+ messages in thread
From: Eric Wong @ 2023-11-14 18:58 UTC (permalink / raw)
To: meta
Noticed while working on another feature...
---
lib/PublicInbox/CodeSearchIdx.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/PublicInbox/CodeSearchIdx.pm b/lib/PublicInbox/CodeSearchIdx.pm
index 4ed5ea64..9ceef16c 100644
--- a/lib/PublicInbox/CodeSearchIdx.pm
+++ b/lib/PublicInbox/CodeSearchIdx.pm
@@ -865,7 +865,7 @@ sub prep_alternate_start {
my ($git_dir, $run_prune) = @_;
my $o = $git_dir.'/objects';
while (!-d $o) {
- $git_dir = shift(@PRUNE_QUEUE) // return
+ $git_dir = shift(@PRUNE_QUEUE) // return;
$o = $git_dir.'/objects';
}
my $cmd = [ 'git', "--git-dir=$git_dir",
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-11-14 18:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-14 16:17 [PATCH] cindex: fix missing semicolon on broken $GIT_DIR/objects Eric Wong
2023-11-14 18:58 Eric Wong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).