+
+ _depsfile="$(mktemp -t tg-depsfile.XXXXXX)"
+ # Check also our base against remote base. Checking our head
+ # against remote head has to be done in the helper.
+ _remotebase="refs/remotes/$base_remote/top-bases/$_name"
+ if [ -n "$base_remote" ] && ref_exists "$_remotebase"; then
+ echo "$_remotebase" >>"$_depsfile"
+ fi
+ git cat-file blob "$_name:.topdeps" >>"$_depsfile"
+