| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This keeps the state of the workdir the same as one from HEAD, removing
a source of possible confusion when calculating the work that is to be
done.
|
| |
|
|
|
|
|
| |
This also brings the soft-reset tests back to life. The function name
was missing an underscore, meaning they had not been running.
|
| |
|
|
|
|
|
| |
This function is meant to simulate what git does in the reset command,
so we should include the reflog message in that.
|
|
|
|
|
|
|
|
|
|
| |
The signature for the reflog is not something which changes
dynamically. Almost all uses will be NULL, since we want for the
repository's default identity to be used, making it noise.
In order to allow for changing the identity, we instead provide
git_repository_set_ident() and git_repository_ident() which allow a user
to override the choice of signature.
|
|
|
|
| |
Signed-off-by: Sven Strickroth <email@cs-ware.de>
|
|
|
|
|
|
|
|
| |
When we update the current branch, we must also append to HEAD's reflog
to keep them in sync.
This is a bit of a hack, but as git.git says, it covers 100% of
default cases.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This was not converted when we converted the rest, so do it now.
|
|
|