https://github.com/git/git
Raw File
Tip revision: 5fc861cf712b205684b78407c29e86aa9b0c5ed5 authored by Junio C Hamano on 31 May 2024, 16:54:52 UTC
Merge branch 'ps/no-writable-strings' into seen
Tip revision: 5fc861c
checkout.h
#ifndef CHECKOUT_H
#define CHECKOUT_H

#include "hash-ll.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.
 */
char *unique_tracking_name(const char *name,
			   struct object_id *oid,
			   int *dwim_remotes_matched);

#endif /* CHECKOUT_H */
back to top