1w6 uRPG 1w6 uRPG
  • Anmelden
  • Öffentlich

    • Öffentlich
    • Gruppen
    • Beliebt
    • Verzeichnis

https://sn.1w6.org/file/clacke-20180504T073913-8qtrnr8.html

https://sn.1w6.org/file/clacke-20180504T073913-8qtrnr8.html
Discovered a "new" feature that was introduced into #git 1.6.5, 8 years ago.

https://git-scm.com/docs/git-replace

It's like grafts, except it's more generic and it can be transmitted between repos!

Instead of a line <commitid> [<fakeparent0> ... [<fakeparentn>]] in .git/info/grafts for just manipulating the ancestry of a commit, you can "now" put an object, any type of object, in refs/replace/<sha1toreplace> and git will use that instead of the real object.

git-replace --graft <blah> <bluh> does the same using this mechanism as adding a line <blah> <bluh> to .git/info/grafts would.

Nachrichten, in denen dieser Anhang erscheint

  1. clacke clacke

    Discovered a "new" feature that was introduced into #git 1.6.5, 8 years ago. https://git-scm.com/docs/git-replace It's like grafts, except it's more generic and it can be transmitted between repos! Instead of a line <commitid> [<fakep…

    Friday, 04-May-18 07:38:56 UTC
  • Hilfe
  • Über
  • FAQ
  • AGB
  • Privatsphäre
  • Quellcode
  • Version
  • Kontakt

1w6 uRPG ist ein Mikrobloggingdienst von Arne (Drak) Babenhauserheide. Es wird mit der Mikrobloggingsoftware StatusNet (Version 1.1.1-release) betrieben, die unter der GNU Affero General Public License erhältlich ist. The running version includes the patches from draketo.de/proj/statusnet-patches.

Creative Commons Attribution 3.0 Alle Inhalte und Daten von 1w6 uRPG sind unter der Creative Commons Attribution 3.0 Lizenz verfügbar.