All the call sites currently treat the return value as a boolean, and
the truthiness and falsishness of return values is unchanged, so there
is no overall functional change.
Also, clarify the head comment somewhat.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
}
sub fetch_from_archive () {
}
sub fetch_from_archive () {
- # Ensures that lrref() is what is actually in the archive,
- # one way or another. If there is nothing in the archive,
- # leaves lrref alone and returns 0.
+ # Ensures that lrref() is what is actually in the archive, one way
+ # or another, according to us - ie this client's
+ # appropritaely-updated archive view. Also returns the commit id.
+ # If there is nothing in the archive, leaves lrref alone and
+ # returns undef.
get_archive_dsc();
if ($dsc) {
get_archive_dsc();
if ($dsc) {
END
}
unshift @end, $del_lrfetchrefs;
END
}
unshift @end, $del_lrfetchrefs;
lrfetchref_used lrfetchref();
unshift @end, $del_lrfetchrefs;
lrfetchref_used lrfetchref();
unshift @end, $del_lrfetchrefs;
}
sub set_local_git_config ($$) {
}
sub set_local_git_config ($$) {