Revision fe3623c6359f687495549320762a2a330b2e7128 authored by Junio C Hamano on 21 March 2014, 19:50:44 UTC, committed by Junio C Hamano on 21 March 2014, 19:50:44 UTC
Discard the accumulated "heuristics" to guess from which branch the
result wants to be pulled from and make sure what the end user
specified is not second-guessed by "git request-pull", to avoid
mistakes.

* lt/request-pull:
  request-pull: documentation updates
  request-pull: resurrect "pretty refname" feature
  request-pull: test updates
  request-pull: pick up tag message as before
  request-pull: allow "local:remote" to specify names on both ends
  request-pull: more strictly match local/remote branches
2 parent s 53d7d1b + ec44507
Raw File
wildmatch.h
#ifndef WILDMATCH_H
#define WILDMATCH_H

#define WM_CASEFOLD 1
#define WM_PATHNAME 2

#define WM_ABORT_MALFORMED 2
#define WM_NOMATCH 1
#define WM_MATCH 0
#define WM_ABORT_ALL -1
#define WM_ABORT_TO_STARSTAR -2

struct wildopts;

int wildmatch(const char *pattern, const char *text,
	      unsigned int flags,
	      struct wildopts *wo);
#endif
back to top