]> git.ipfire.org Git - thirdparty/git.git/commit - git-svn.perl
git-svn: teach dcommit about svn auto-props
authorBrad King <brad.king@kitware.com>
Fri, 25 Jul 2008 15:32:37 +0000 (11:32 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sat, 26 Jul 2008 00:54:19 +0000 (17:54 -0700)
commit128de6576743901b11f243509753320038e74ba7
treec1caef0a888dac3fb73c3864835a0a784df5992d
parent7b4b59a963c726d30b319a79c1f8243a82d6e12f
git-svn: teach dcommit about svn auto-props

Subversion repositories often require files to have properties such as
svn:mime-type and svn:eol-style set when they are added.  Users
typically set these properties automatically using the SVN auto-props
feature with 'svn add'.  This commit teaches dcommit to look at the user
SVN configuration and apply matching auto-props entries for files added
by a diff as it is applied to the SVN remote.

Signed-off-by: Brad King <brad.king@kitware.com>
Acked-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-svn.perl
t/t9124-git-svn-dcommit-auto-props.sh [new file with mode: 0755]