#5880: Add sync-all new-workdir
------------------------------+---------------------------------------------
Reporter: tibbe | Owner:
Type: feature request | Status: new
Priority: normal | Component: Build System
Version: 7.4.1 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Testcase:
Blockedby: | Blocking:
Related: |
------------------------------+---------------------------------------------
The attached patch implements a new `sync-all` command, which calls `git-
new-workdir`. `git-new-workdir` lets you create separate working
directories, all connected to the same repository. Separate working
directories can be used to:
* Store repos on NFS, where they can be easily backed up, but store the
checked out code on local disk, speeding up builds and many git operations
(e.g. `git status`.)
* Implement separate build trees. While full clones can be used to
implement build trees, they are somewhat more heavyweight to use (e.g. you
need to shuffle patches between them.)
{{{
Usage:
sync-all new-workdir <new_workdir> [<branch>]
Example:
sync-all ~/src/ghc-validate
}}}
Note: `git-new-workdir` is typically not on the user's PATH after a
standard git installation. It can be found in the `contrib` directory in
most git distributions.
Feel free to edit the patch. My perl-fu is weak.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5880>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs