Merge branch 'master' into next

* master: (23 commits)
  Git 1.7.1-rc2
  Documentation/remote-helpers: Fix typos and improve language
  Fixup: Second argument may be any arbitrary string
  Documentation/remote-helpers: Add invocation section
  Documentation/urls: Rewrite to accomodate <transport>::<address>
  Documentation/remote-helpers: Rewrite description
  Documentation: Describe other situations where -z affects git diff
  rebase-interactive: silence warning when no commits rewritten
  t3301: add tests to use --format="%N"
  documentation: clarify direction of core.autocrlf
  diff: use large integers for diffstat calculations
  gitk: Display dirty submodules correctly
  pretty: Initialize notes if %N is used
  gitk: Fix display of copyright symbol
  gitk: Add emacs editor variable block
  gitk: Avoid calling tk_setPalette on Windows
  gitk: Don't clobber "Remember this view" setting
  gitk: Add comments to explain encode_view_opts and decode_view_opts
  gitk: Use consistent font for all text input fields
  gitk: Set the font for all listbox widgets
  ...

Conflicts:
	builtin/log.c
This commit is contained in:
Junio C Hamano
2010-04-18 22:19:52 -07:00
21 changed files with 271 additions and 124 deletions

View File

@@ -74,11 +74,16 @@ struct pretty_print_context
struct reflog_walk_info *reflog_info;
};
struct userformat_want {
unsigned notes:1;
};
extern int has_non_ascii(const char *text);
struct rev_info; /* in revision.h, it circularly uses enum cmit_fmt */
extern char *reencode_commit_message(const struct commit *commit,
const char **encoding_p);
extern void get_commit_format(const char *arg, struct rev_info *);
extern void userformat_find_requirements(const char *fmt, struct userformat_want *w);
extern void format_commit_message(const struct commit *commit,
const char *format, struct strbuf *sb,
const struct pretty_print_context *context);