Post details: git-svn, copies and empty dirs

22 October, 2007

Permalink 21:16 UTC, by Markus Ullmann, 88 words, 1132 views   English (US)
Categories: gentoo

git-svn, copies and empty dirs

Up to now, when working on sunrise with git-svn, I faced two minor issues that it didn't handle nicely.

a) When copying stuff from sunrise/ to reviewed/ so that it goes out via layman, the file was added although it was merged.

b) It left empty dirs behind when I kicked an app (as it went over to gentoo-x86)

After reading a bunch of mailinglists and forums posts, I finally had a working solution. Just add these lines to .git/config file:

[diff]
renames = copies
[svn]
findcopiesharder = 1
rmdir = 1

Trackback address for this post:

http://planet.gentoo.org/developers/htsrv/trackback.php/1417

Comments, Trackbacks:

No Comments/Trackbacks for this post yet...

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))

Markus Ullmann

October 2008
Mon Tue Wed Thu Fri Sat Sun
<< <     
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Search

Categories

Misc

XML Feeds

What is RSS?

Who's Online?

  • Guest Users: 63

powered by
b2evolution