Revision ec688f776c359a2ebf1e7a05e59a5bdfd253d0a0 authored by Jean-Noël Avila on 10 August 2019, 16:12:51 UTC, committed by Jean-Noël Avila on 10 August 2019, 16:17:31 UTC
Signed-off-by: Jean-Noël Avila <jn.avila@free.fr>
1 parent 466c88f
Raw File
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