Michael Nahas skribis: > "commit" > HEAD = new(HEAD + (NEXT-HEAD)) > NEXT = HEAD > "commit --amend" > HEAD = new(HEAD^ + (NEXT-HEAD^)) > NEXT = HEAD A better notation for creating a new commit would be something that takes both the contents and the parents as arguments. "commit:" HEAD = new(NEXT, HEAD) NEXT = HEAD "commit --amend" HEAD = new(NEXT, all-parents-of(HEAD)) NEXT = HEAD > "stash save" > STASH = new(new(HEAD+(NEXT-HEAD))+WTREE-NEXT) > NEXT = HEAD > WTREE = HEAD > push(STASH) "stash save" STASH = new(WTREE, HEAD, new(NEXT, HEAD)) NEXT = HEAD WTREE = HEAD push(STASH) And similar. Paul -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html