Skip to content
View in the app

A better way to browse. Learn more.

Learn more

[Armbian build PR] - RFC: DO NOT MERGE: patching: rewrite: try to stabilize patch `index` stanzas as well as From lines

Featured Replies

RFC: DO NOT MERGE: patching: rewrite: try to stabilize patch index stanzas as well as From lines

  • RFC: DO NOT MERGE: patching: rewrite: try to stabilize patch index stanzas as well as From lines
    • git format-patch --zero-commit doesn't affect index xxx...yyy lines, only From:
      • so use the classy "use a regex with a callback" solution as git format-patch doesn't offer one
    • this will make all patches change when rewritten, but hopefully for the last time !
    • not sure what other impacts this might have though - git am might not work any more?
    • we need to preserve index 000000000000..xxx as zeros, which indicate new file creation, thus:
      • new file creations are rewritten as index 000000000000..111111111111
      • non-creations are rewritten as index 111111111111..222222222222
  • DO NOT MERGE: Example rewrite of a patch with both file change & file creation

View the full article

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.