Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. clacke (clacke@social.heldscal.la)'s status on Friday, 04-May-2018 03:38:56 EDT 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> [<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.
    In conversation Friday, 04-May-2018 03:38:56 EDT from social.heldscal.la permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.