Re: Make git-rev-tree obsolete
Hi, On Mon, 8 Aug 2005, Junio C Hamano wrote: Johannes Schindelin [EMAIL PROTECTED] writes: Junio remarked that Jeff's git-changes-script still uses git-rev-tree, and therefore it should not be removed. This patch changes git-changes-script over to git-rev-list: Just to make things clear, Junio remarked that Cogito also seems to use it as well, so git-rev-tree is not going away. Oops! My bad. - To unsubscribe from this list: send the line unsubscribe git in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
Make git-rev-tree obsolete
Hi, Junio remarked that Jeff's git-changes-script still uses git-rev-tree, and therefore it should not be removed. This patch changes git-changes-script over to git-rev-list: --- git-changes-script.orig Tue Aug 9 02:21:36 2005 +++ git-changes-script Tue Aug 9 02:20:53 2005 @@ -85,14 +85,14 @@ base=$(cat .git/HEAD) || exit 1 fi -git-rev-tree $base | sort -rn ${tmpfile}.base +git-rev-list $base ${tmpfile}.base if [ -n $remote ]; then [ -d $remote/.git ] || exit 1 if [ -z $tobase ]; then tobase=$(cat $remote/.git/HEAD) || exit 1 fi pushd $remote /dev/null - git-rev-tree $tobase | sort -rn ${tmpfile}.remote + git-rev-list $tobase ${tmpfile}.remote diff -u ${tmpfile}.base ${tmpfile}.remote | grep ^${diffsearch}[^${diffsearch}] | cut -c 1- ${tmpfile}.diff rm -f ${tmpfile}.base ${tmpfile}.remote mv ${tmpfile}.diff ${tmpfile}.base @@ -103,7 +103,7 @@ [ -s ${tmpfile}.base ] || exit 0 -cat ${tmpfile}.base | while read time commit parents; do +cat ${tmpfile}.base | while read commit; do showcommit $commit echo -e \n-- - To unsubscribe from this list: send the line unsubscribe git in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Make git-rev-tree obsolete
Johannes Schindelin [EMAIL PROTECTED] writes: Junio remarked that Jeff's git-changes-script still uses git-rev-tree, and therefore it should not be removed. This patch changes git-changes-script over to git-rev-list: Just to make things clear, Junio remarked that Cogito also seems to use it as well, so git-rev-tree is not going away. - To unsubscribe from this list: send the line unsubscribe git in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Make git-rev-tree obsolete
On Mon, Aug 08, 2005 at 07:49:26PM -0700, Junio C Hamano wrote: Johannes Schindelin [EMAIL PROTECTED] writes: Junio remarked that Jeff's git-changes-script still uses git-rev-tree, and therefore it should not be removed. This patch changes git-changes-script over to git-rev-list: Just to make things clear, Junio remarked that Cogito also seems to use it as well, so git-rev-tree is not going away. git-changes-script is basically an old Cogito script, as you can see from looking at the source code. I only use it for cd /repos/misc-2.6 git-changes-script -L ../linux-2.6 i.e. where there are two separate trees, rather than separate branches that I normally work with. Jeff - To unsubscribe from this list: send the line unsubscribe git in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html