Revision d52571d5c10efeb35ceeeb17f9b5e5f0ca1c3019 authored by Junio C Hamano on 14 March 2014, 21:26:04 UTC, committed by Junio C Hamano on 14 March 2014, 21:26:05 UTC
"git push" did not pay attention to branch.*.pushremote if it is
defined earlier than remote.pushdefault; the order of these two
variables in the configuration file should not matter, but it did by
mistake.

* jk/remote-pushremote-config-reading:
  remote: handle pushremote config in any order
2 parent s 3c83b08 + 98b406f
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