https://github.com/git/git
Revision 897d28bcc23878b5d98b46f3903e3d2a302d8a01 authored by Junio C Hamano on 06 February 2021, 00:31:23 UTC, committed by Junio C Hamano on 06 February 2021, 00:31:23 UTC
"git for-each-repo --config=<var> <cmd>" should not run <cmd> for
any repository when the configuration variable <var> is not defined
even once.

* ds/for-each-repo-noopfix:
  for-each-repo: do nothing on empty config
2 parent s 4fc7b22 + 6c62f01
Raw File
Tip revision: 897d28bcc23878b5d98b46f3903e3d2a302d8a01 authored by Junio C Hamano on 06 February 2021, 00:31:23 UTC
Merge branch 'ds/for-each-repo-noopfix' into maint
Tip revision: 897d28b
fmt-merge-msg.h
#ifndef FMT_MERGE_MSG_H
#define FMT_MERGE_MSG_H

#include "strbuf.h"

#define DEFAULT_MERGE_LOG_LEN 20

struct fmt_merge_msg_opts {
	unsigned add_title:1,
		credit_people:1;
	int shortlog_len;
};

extern int merge_log_config;
int fmt_merge_msg_config(const char *key, const char *value, void *cb);
int fmt_merge_msg(struct strbuf *in, struct strbuf *out,
		  struct fmt_merge_msg_opts *);


#endif /* FMT_MERGE_MSG_H */
back to top