We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 380c6ee commit 4c3e663Copy full SHA for 4c3e663
services/datalad/datalad_service/common/git.py
@@ -163,6 +163,9 @@ async def git_commit(
163
sentry_sdk.capture_exception(e)
164
logger.error(f'Failed to read index after git-annex add: {e}')
165
raise OpenNeuroGitError(f'Failed to read index: {e}') from e
166
+ # Ensure non-annexed files are smudged, e.g., update end-of-lines
167
+ # but do not "fix" unrelated paths
168
+ repo.index.add_all(file_paths)
169
return await git_commit_index(repo, author, message, parents)
170
171
0 commit comments