Changes between Version 3 and Version 4 of Ticket #16944
- Timestamp:
- 2018-11-04T22:38:14+01:00 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #16944 – Description
v3 v4 149 149 ### 150 150 151 REBASE_CONF=$(mktemp)152 151 ( 153 152 git log --pretty="format:%at %H %s" remotes/svn_josmtrunk 154 153 git log --pretty="format:%at %H %s" svn_jmapviewer_rewrite 155 ) | sort -n > "${REBASE_CONF}"156 157 JOSM_EPOCH=$(head -n 1 ${REBASE_CONF} | cut -d ' ' -f1 )158 (159 #git log --ancestry-path --pretty="format:%ct %H %s" \160 # $(git log --reverse --oneline --no-abbrev-commit svn_commons_compress_rewrite |161 # head -n 1 | cut -d ' ' -f 1)..svn_commons_compress_rewrite # we are not rebasing this, to preserve commit timestamps which we use here162 154 git log --first-parent --pretty="format:%at %H %s" svn_commons_compress_clean 163 155 git log --pretty="format:%at %H %s" svn_commons_jcstrunk_clean 164 156 git log --pretty="format:%at %H %s" svn_commons_loggingtrunk_clean 165 # could use it: 166 # | awk -F ' ' "\$1 > ${JOSM_EPOCH} {print \$1 \" \" \$2} {}" >> "${REBASE_CONF}" 167 # to keep only history after fist JOSM commit, but we would need to squash all the previous history into one commit 168 ) >> "${REBASE_CONF}" 157 ) | sort -n | cut -d ' ' -f2 | sed -e 's/^/p /' > ../rebase_config 169 158 170 sort -n ${REBASE_CONF} | cut -d ' ' -f2 | sed -e 's/^/p /' > ../rebase_config171 rm ${REBASE_CONF}172 159 git config merge.renamelimit 5000 173 160 git checkout master … … 185 172 git reflog expire --expire-unreachable=now --all 186 173 git gc --prune=now 174 187 175 }}}