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
decorate.h
#ifndef DECORATE_H
#define DECORATE_H

struct object_decoration {
	const struct object *base;
	void *decoration;
};

struct decoration {
	const char *name;
	unsigned int size, nr;
	struct object_decoration *hash;
};

extern void *add_decoration(struct decoration *n, const struct object *obj, void *decoration);
extern void *lookup_decoration(struct decoration *n, const struct object *obj);

#endif
back to top