https://github.com/git/git
Raw File
Tip revision: c42c0f12972194564f039dcf580d89ca14ae72d6 authored by Junio C Hamano on 17 March 2020, 20:23:48 UTC
Git 2.17.4
Tip revision: c42c0f1
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.
 */
extern const char *unique_tracking_name(const char *name, struct object_id *oid);

#endif /* CHECKOUT_H */
back to top