On Mon, 4 Jul 2016 17:03:46 -0400
shawn wilson wrote:
[...]
> > I don't possess the official stance on this topic but AFAIK
> > user-level questions are fine on this list.
>
> In that case :)
> ... still having issues w/ filter-branch:
[...]
I used something along these lines:
git filter-bra
correction
On Mon, Jul 4, 2016 at 7:30 PM, shawn wilson wrote:
> shopt -s extglob; declare -a f=(!(cookbooks)); git filter-branch
> --tree-filter "mkdir -p cookbooks/base_sys && mv ${f[@]}
> cookbooks/base_sys"
>
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a
On Mon, Jul 4, 2016 at 6:10 PM, Andreas Schwab wrote:
> shawn wilson writes:
>
>> $ git filter-branch --tree-filter "shopt -s extglob && mkdir -p
>> cookbooks/base_sys && mv !(cookbooks) cookbooks/base_sys"
>
> extglob changes the parser, you need to set that on a separate line.
>
by "separate l
shawn wilson writes:
> $ git filter-branch --tree-filter "shopt -s extglob && mkdir -p
> cookbooks/base_sys && mv !(cookbooks) cookbooks/base_sys"
extglob changes the parser, you need to set that on a separate line.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA
On Mon, Jul 4, 2016 at 2:29 PM, Konstantin Khomoutov
wrote:
> On Mon, 4 Jul 2016 14:15:58 -0400
> shawn wilson wrote:
>
> I don't possess the official stance on this topic but AFAIK user-level
> questions are fine on this list.
In that case :)
... still having issues w/ filter-branch:
$ git fi
On Mon, 4 Jul 2016 14:15:58 -0400
shawn wilson wrote:
[...]
> > I know Git tracks content, not files (and directory) but still many
> > folks have "stable" directories for their files, assign certain
> > semantics to them etc. I've needed such transfers myself, and this
> > topic has been raised
On Mon, Jul 4, 2016 at 1:39 PM, Konstantin Khomoutov
wrote:
> On Mon, 4 Jul 2016 12:45:39 -0400
> shawn wilson wrote:
>
>
> To achieve what you're after I used `git subtree split` followed by
> `git filter-branch --tree-filter ...` which moved all the files under
> the directory hierarchy `git s
On Mon, 4 Jul 2016 12:45:39 -0400
shawn wilson wrote:
> I've got a chef cookbook repo where everyone started developing
> cookbooks in a single dev branch (not project specific). Minus a few
> edge cases, it should be fairly simple to split this up into feature
> branches based on /cookbooks/.
>
I've got a chef cookbook repo where everyone started developing
cookbooks in a single dev branch (not project specific). Minus a few
edge cases, it should be fairly simple to split this up into feature
branches based on /cookbooks/.
I tried:
$ git filter-branch --subdirectory-filter cookbooks/--
9 matches
Mail list logo