Skip to content

git_commit_create: freshen tree objects in commit - #4150

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

git_commit_create: freshen tree objects in commit#4150
carlosmn merged 1 commit into
masterfrom
ethomson/freshen_trees

Conversation

@ethomson

@ethomson 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
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.

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.

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
ethomson force-pushed the ethomson/freshen_trees branch from c63a1d7 to 52d03f3 Compare March 3, 2017 14:12
@carlosmn
carlosmn merged commit 467185f into master Mar 3, 2017
@ethomson
ethomson deleted the ethomson/freshen_trees branch January 9, 2019 10:18
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