]> git.pld-linux.org Git - packages/rpm-build-tools.git/blame - fixmerge.sh
do exact bcond match when reporting active bconds
[packages/rpm-build-tools.git] / fixmerge.sh
CommitLineData
dc99d75e
KK
1#!/bin/sh
2
3# Changes the order of parents and commitlog in the merge produced by git pull. It produces
4# the nicer history with git log --first-parent
5
6git filter-branch -f --parent-filter "tee ~/P.OUT | awk '{if(NF==4) print \$1,\$4,\$3,\$2;}'| tee -a ~/P.OUT" \
7 --msg-filter "sed 's/\(Merge branch .*\) of/\1 into/'" HEAD^!
This page took 0.031533 seconds and 4 git commands to generate.