morgan pushed to branch main at The Tor Project / Applications / RBM
Commits:
-
9dedbe52
by Nicolas Vigier at 2025-02-26T13:43:01+01:00
1 changed file:
Changes:
... | ... | @@ -427,6 +427,7 @@ sub git_need_fetch { |
427 | 427 | my ($stdout, undef, $success) = capture_exec('git', 'rev-parse',
|
428 | 428 | '--verify', "$git_hash^{commit}");
|
429 | 429 | return 1 unless $success;
|
430 | + chomp $stdout;
|
|
430 | 431 | # If rev-parse returns the same as git_hash, then git_hash is
|
431 | 432 | # a hash and there is no need to fetch
|
432 | 433 | return 0 if $stdout eq $git_hash;
|