Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
243d40df
Commit
243d40df
authored
Jun 22, 2018
by
Edward Thomson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: add unsaved index safety to changelog
parent
bfa1f022
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
docs/changelog.md
+12
-0
No files found.
docs/changelog.md
View file @
243d40df
...
@@ -16,6 +16,18 @@ v0.27 + 1
...
@@ -16,6 +16,18 @@ v0.27 + 1
*
You can now swap out memory allocators via the
*
You can now swap out memory allocators via the
`GIT_OPT_SET_ALLOCATOR`
option with
`git_libgit2_opts()`
.
`GIT_OPT_SET_ALLOCATOR`
option with
`git_libgit2_opts()`
.
*
You can now ensure that functions do not discard unwritten changes to the
index via the
`GIT_OPT_ENABLE_UNSAVED_INDEX_SAFETY`
option to
`git_libgit2_opts()`
. This will cause functions that implicitly re-read
the index (eg,
`git_checkout`
) to fail if you have staged changes to the
index but you have not written the index to disk. (Unless the checkout
has the FORCE flag specified.)
At present, this defaults to off, but we intend to enable this more
broadly in the future, as a warning or error. We encourage you to
examine your code to ensure that you are not relying on the current
behavior that implicitly removes staged changes.
### API removals
### API removals
### Breaking API changes
### Breaking API changes
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment