FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

git_commit_create: freshen tree objects in commit by ethomson · Pull Request #4150 · libgit2/libgit2 · GitHub

Repository navigation

git_commit_create: freshen tree objects in commit - #4150

Merged
carlosmn merged 1 commit into
masterfrom
ethomson/freshen_trees
Mar 3, 2017
Merged

carlosmn merged 1 commit into
masterfrom
ethomson/freshen_trees

Conversation

ethomson commented Mar 3, 2017

Copy link
Copy Markdown
Member

Freshen the tree object that a commit points to during commit time. This can help to freshen trees when a new commit is written that points to an old tree (but that tree id was recorded, instead of being newly computed with git_odb_write, which would have done the tree freshening itself.)

/cc @carlosmn

ethomson force-pushed the ethomson/freshen_trees branch from 712deef to c63a1d7 Compare March 3, 2017 13:33
Comment thread tests/odb/freshen.c Outdated
cl_git_pass(git_commit_lookup(&parent, repo, &parent_id));

cl_git_pass(git_signature_new(&signature,
"Refresher", "refresher@refresh-me.com", 1488547083, 0));

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

So... this domain belongs to a German web/graphic design company

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Haha. Right, yes, I probably shouldn't use stream of consciousness for things that are etched in git's commit history.

Freshen the tree object that a commit points to during commit time.
ethomson force-pushed the ethomson/freshen_trees branch from c63a1d7 to 52d03f3 Compare March 3, 2017 14:12
carlosmn merged commit 467185f into master Mar 3, 2017
ethomson deleted the ethomson/freshen_trees branch January 9, 2019 10:18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL