morgan pushed to branch main at The Tor Project / Applications / RBM

Commits:

1 changed file:

Changes:

  • lib/RBM.pm
    ... ... @@ -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;