https://github.com/git/git
Revision 26c4f98ffda512bc0731c4bd13e22338137e9a7c authored by Junio C Hamano on 26 March 2021, 21:58:49 UTC, committed by Junio C Hamano on 26 March 2021, 21:59:03 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 89519f6
Raw File
Tip revision: 26c4f98ffda512bc0731c4bd13e22338137e9a7c authored by Junio C Hamano on 26 March 2021, 21:58:49 UTC
The fourth batch
Tip revision: 26c4f98
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