Commit Graph

9 Commits

Author SHA1 Message Date
Randy Palamar a6a7143e38 less: update to version 643 2024-02-07 20:50:18 -08:00
Michael Forney 3cc6dca763 less: Update to 590 2021-11-17 13:46:31 -08:00
Michael Forney 5957d043df less: Update to 563 2020-06-23 15:33:19 -07:00
Michael Forney 9b20fdfe84 less: Update to 561 2020-05-17 01:00:26 -07:00
Michael Forney 839f7f067b less: Update to 557 2020-03-28 18:48:41 -07:00
Michael Forney 7e634f8653 less: Update to 551 2019-06-14 00:36:30 -07:00
Michael Forney f9608a055f less: Update to 530 2018-02-16 19:35:58 -08:00
Michael Forney 0f68902d1d less: Update to 487 2017-05-28 17:30:46 -07:00
Michael Forney 293f5a93b7 Move to flat package hierarchy
Note to self: never try to move submodules again

To migrate your existing submodules (more or less):

	set -x
	set -e

	mkdir .git/modules/pkg
	for old in */*/src ; do
	        new="pkg/${old#*/}"
	        if ! [ -f "$old/.git" ] || [ "${old%%/*}" = pkg ] ; then
			continue
		fi
		git -C ".git/modules/$old" config core.worktree "../../../../../$new"
		rmdir "$new"
		mv "$old" "$new"
	        sed -e "s,$old,$new," "$new/.git" > "$new/.git.tmp"
	        mv "$new/.git.tmp" "$new/.git"
		mkdir ".git/modules/${new%/src}"
	        mv ".git/modules/$old" ".git/modules/$new"

		rm "${old%/src}"/*.ninja
		mv "${old%/src}"/*.tar.{gz,xz,bz2} "${new%/src}/"
		rmdir "${old%/src}" || true
	done
	sed -e 's,^\[submodule "[^/]*/,[submodule "pkg/,' .git/config > .git/config.tmp
	mv .git/config.tmp .git/config
2016-12-13 23:10:30 -08:00