Staging
v0.5.1
https://github.com/git/git
Revision 1d4361b0f344188ab5eec6dcea01f61a3a3a1670 authored by Junio C Hamano on 10 September 2018, 17:41:56 UTC, committed by Junio C Hamano on 10 September 2018, 17:41:56 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 46d9a28
Raw File
Tip revision: 1d4361b0f344188ab5eec6dcea01f61a3a3a1670 authored by Junio C Hamano on 10 September 2018, 17:41:56 UTC
Git 2.19
Tip revision: 1d4361b
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,
					int *dwim_remotes_matched);

#endif /* CHECKOUT_H */
back to top