>>>>> "JB" == Joachim Breitner <m...@joachim-breitner.de> writes:

JB> Maybe I should move the branch to archive/foobar, to make it clear that
JB> this is not something actively worked on?

As a side note: you could move them into a different ref spec entirely, which
is not pulled by default when someone clone's or pull's. For example, you
could store them under:

    refs/archives/foobar

Which would require a pullspec to be added before someone can gain access to
these archives:

    git config remote.origin.fetch 
'+refs/archives/*:refs/remotes/origin/archives/*'

GitHub does something very similar with its pull requests, which are stored
under a "pull" ref spec, and are not cloned by default, but can be accessed by
adding the appropriate fetch attribute:

    +refs/pull/*:refs/remotes/origin/pr/*

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to