On Wed, Jul 09, 2008 at 12:18:41PM +0200, Sverre Rabbelier <alturin@xxxxxxxxx> wrote: > I am not yet sure how I should send in my code for peer review. > $ git rev-list master | wc -l > 151 What I did squashing fixes regularly, but I keep a 'history' branch where I always reference to the old HEAD, so others can still have a look at the individual commits. It's like: $ cat rebase-builtin-merge.sh #!/bin/sh -e [ -n "$*" ] old_head=$(git rev-parse HEAD) git rebase $* git update-ref refs/heads/rebase-history \ $(echo "Rebased with 'git rebase $*'" | \ git commit-tree HEAD^{tree} -p rebase-history -p $old_head -p HEAD) It will not work properly if you get conflicts, but you got the idea.
Attachment:
pgp7Gq9ylkFzQ.pgp
Description: PGP signature