Staging
v0.5.1
https://github.com/git/git
Revision 1b7e543a6e2f156536a3cf227f9da1029bba6265 authored by Dévai Tamás on 11 February 2009, 23:14:02 UTC, committed by Junio C Hamano on 16 February 2009, 02:04:48 UTC
If the new svn root URL given with the svn-remote.<repo>.rewriteRoot config option
(or by the --rewrite-root option to 'git svn init') contains a username
(such as 'svn+ssh://username@example.com/repo'), find_by_url() cannot find
the repository URL, because the URL contained in the commit message does have
the username removed.

Signed-off-by: Dévai Tamás <devait@mailbox.sk>
Acked-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 88a667f
Raw File
Tip revision: 1b7e543a6e2f156536a3cf227f9da1029bba6265 authored by Dévai Tamás on 11 February 2009, 23:14:02 UTC
git-svn: Fix for rewriteRoot URL containing username.
Tip revision: 1b7e543
shortlog.h
#ifndef SHORTLOG_H
#define SHORTLOG_H

#include "string-list.h"

struct shortlog {
	struct string_list list;
	int summary;
	int wrap_lines;
	int sort_by_number;
	int wrap;
	int in1;
	int in2;
	int user_format;

	char *common_repo_prefix;
	int email;
	struct string_list mailmap;
};

void shortlog_init(struct shortlog *log);

void shortlog_add_commit(struct shortlog *log, struct commit *commit);

void shortlog_output(struct shortlog *log);

#endif
back to top