https://github.com/git/git
Raw File
Tip revision: faa21c10d44184f616d391c158dcbb13b9c72ef3 authored by Junio C Hamano on 04 April 2022, 17:24:07 UTC
Git 2.36-rc0
Tip revision: faa21c1
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