Re: [ANNOUNCE] pg - A patch porcelain for GIT

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Sam Vilain
Date: Sunday, February 12, 2006 - 9:40 pm

Shawn Pearce wrote:

ok.  Well, perhaps a nice solution might be just to aggregate the
comments as each new commit is made.  ie, the previous comment is
prepended to the new comment unless you use the editor or a special
-M (or whatever) option that replaces the running comment.

I tried importing a patchset into pg, and made some changes to it to see
the patch revisioning going on.  However, I can't see this happening.
Can you perhaps include this information in your tutorial?

As far as other, more general critiques of the software goes:  What
about merging?  stgit has a very nice way of merging; I specify how to
merge using a config file, and when I rebase my patches with "stg pull",
it fires up my custom editor.  All I really want is a way to specify how
to handle merges, with the ancestor/left/right files on hand.  I want to
use something as simple as this script:

#!/bin/sh

branch1="$1"
branch2="$2"
ancestor="$3"
output="$4"

echo "Merging:"
echo
echo "   $branch1"
echo " - $ancestor"
echo
echo " with:"
echo
echo "   $branch2"
echo " - $ancestor"
echo
echo " to: $output"
echo ""
echo -n "Trying diff3..."

if diff3 -L local -L older -L remote -m -E "$branch1" "$ancestor" \
    "$branch2" > "$output"
then
     echo "OK"
else
     echo "failed"
     echo "falling back to ediff-merge"
     emacs --eval "(ediff-merge-files-with-ancestor \"${branch1}\"
                    \"${branch2}\" \"${ancestor}\" nil \"${output}\")"
fi

Those commands I got from the default .stgitrc config.

That's all the features I'm really after.

Sam.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[ANNOUNCE] pg - A patch porcelain for GIT, Shawn Pearce, (Fri Feb 10, 12:59 pm)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Greg KH, (Fri Feb 10, 1:41 pm)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Shawn Pearce, (Fri Feb 10, 2:04 pm)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Petr Baudis, (Fri Feb 10, 2:17 pm)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Shawn Pearce, (Fri Feb 10, 2:38 pm)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Petr Baudis, (Fri Feb 10, 2:47 pm)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Junio C Hamano, (Fri Feb 10, 3:07 pm)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Greg KH, (Fri Feb 10, 4:20 pm)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Sam Vilain, (Sun Feb 12, 7:49 pm)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Shawn Pearce, (Sun Feb 12, 8:29 pm)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Sam Vilain, (Sun Feb 12, 9:40 pm)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Shawn Pearce, (Sun Feb 12, 11:03 pm)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Catalin Marinas, (Mon Feb 13, 7:40 am)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Petr Baudis, (Mon Feb 13, 2:00 pm)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Shawn Pearce, (Mon Feb 13, 9:56 pm)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Shawn Pearce, (Mon Feb 13, 11:14 pm)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Catalin Marinas, (Tue Feb 14, 2:26 am)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Karl , (Tue Feb 14, 3:08 am)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Chuck Lever, (Tue Feb 14, 8:22 am)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Karl , (Tue Feb 14, 9:07 am)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Chuck Lever, (Tue Feb 14, 1:58 pm)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Petr Baudis, (Tue Feb 14, 3:29 pm)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Sam Vilain, (Tue Feb 14, 5:22 pm)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Shawn Pearce, (Tue Feb 14, 5:35 pm)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Petr Baudis, (Tue Feb 14, 6:14 pm)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, J. Bruce Fields, (Tue Feb 14, 9:11 pm)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Shawn Pearce, (Tue Feb 14, 11:54 pm)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Karl , (Wed Feb 15, 3:11 am)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Andreas Ericsson, (Wed Feb 15, 3:42 am)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Karl , (Wed Feb 15, 4:25 am)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Karl , (Wed Feb 15, 4:27 am)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Catalin Marinas, (Wed Feb 15, 10:12 am)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Catalin Marinas, (Wed Feb 15, 10:20 am)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Catalin Marinas, (Wed Feb 15, 10:25 am)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Shawn Pearce, (Wed Feb 15, 10:55 am)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, J. Bruce Fields, (Wed Feb 15, 12:45 pm)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Karl , (Thu Feb 16, 12:54 am)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Junio C Hamano, (Thu Feb 16, 3:24 am)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Catalin Marinas, (Thu Feb 16, 3:33 am)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Fernando J. Pereda, (Thu Feb 16, 3:42 am)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Junio C Hamano, (Thu Feb 16, 3:52 am)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Catalin Marinas, (Thu Feb 16, 4:10 am)
[PATCH 0/2] stg uncommit, Karl , (Thu Feb 16, 9:27 pm)
[PATCH 2/2] Add 'stg uncommit' command, Karl , (Thu Feb 16, 9:31 pm)
Re: [ANNOUNCE] pg - A patch porcelain for GIT, Catalin Marinas, (Fri Feb 17, 2:57 pm)
Re: [PATCH 2/2] Add 'stg uncommit' command, Catalin Marinas, (Sun Feb 19, 3:51 am)
Re: [PATCH 2/2] Add 'stg uncommit' command, Karl , (Sun Feb 19, 6:45 am)
Re: [PATCH 2/2] Add 'stg uncommit' command, Karl , (Sun Feb 19, 7:47 am)
Re: [PATCH 2/2] Add 'stg uncommit' command, Sam Vilain, (Sun Feb 19, 2:15 pm)
Re: [PATCH 2/2] Add 'stg uncommit' command, Catalin Marinas, (Mon Feb 20, 10:20 am)
Re: [PATCH 2/2] Add 'stg uncommit' command, Karl , (Mon Feb 20, 10:30 am)
Re: [PATCH 2/2] Add 'stg uncommit' command, Catalin Marinas, (Mon Feb 20, 3:49 pm)
Re: [PATCH 2/2] Add 'stg uncommit' command, Karl , (Tue Feb 21, 12:55 am)