On Tue, Aug 12, 2008 at 10:05:43PM +0530, [hidden email] wrote:
> From: Aneesh Kumar K.V <[hidden email]>
> This can be used to import a set of commits
> between range specified by range1..range2
> This should help us to convert an already
> existing quilt, stgit branches to topgit
> managed one
> Signed-off-by: Aneesh Kumar K.V <[hidden email]>
thanks, unfortunately this script still needs work.
> diff --git a/tg-import.sh b/tg-import.sh
> new file mode 100644
> index 0000000..0158f3b
> --- /dev/null
> +++ b/tg-import.sh
> @@ -0,0 +1,97 @@
> +#derived out of git-format-patch.sh
I feel this is a wrong approach - it should be derived from some of
the tg scripts instead. Please use the common header and options
parsing infrastructure. Also, please adjust your script to be non-bash
So allow only to import commits that are _on top_ of the same commit the
topic branches system is going to be based on.
> + git commit -a -m "Import the initial patch to the topic branch"
Why two commits?
> +done < $series
Petr "Pasky" Baudis
The next generation of interesting software will be done
on the Macintosh, not the IBM PC. -- Bill Gates
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [hidden email] More majordomo info at http://vger.kernel.org/majordomo-info.html