swh:1:snp:bb8853bfef8fcf2b1d37fd6404912c7606c98e48
Raw File
Tip revision: a5828ae6b52137b913b978e16cd2334482eb4c1f authored by Junio C Hamano on 15 March 2021, 18:51:51 UTC
Git 2.31
Tip revision: a5828ae
checkout.h
#ifndef CHECKOUT_H
#define CHECKOUT_H

#include "cache.h"

/*
 * Check if the branch name uniquely matches a branch name on a remote
 * tracking branch.  Return the name of the remote if such a branch
 * exists, NULL otherwise.
 */
const char *unique_tracking_name(const char *name,
				 struct object_id *oid,
				 int *dwim_remotes_matched);

#endif /* CHECKOUT_H */
back to top