Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure Git index is up-to-date before dirty repo check #37 #109

Merged
merged 2 commits into from
Apr 26, 2021

Conversation

jmurty
Copy link
Collaborator

@jmurty jmurty commented Feb 3, 2021

Should fix/avoid failures seen in CI systems where the repo seems
dirty when it really isn't.

Should fix/avoid failures seen in CI systems where the repo seems
dirty when it really isn't.
Copy link
Owner

@elasticdog elasticdog left a comment

Choose a reason for hiding this comment

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

Nice find on the --really-refresh flag...this LGTM, assuming that someone from #37 can test and confirm.

@elasticdog
Copy link
Owner

This got me thinking...I wonder if this technique could replace some of the times when we "touch all encrypted files to prevent stale stat info"?

@andreineculau
Copy link
Collaborator

This got me thinking...I wonder if this technique could replace some of the times when we "touch all encrypted files to prevent stale stat info"?

👏 I thought the exact same thing! I never got to test it though, but based on how I understand this to work, it should do the job just fine.

# By James Murty (2) and Erik Flodin (1)
# Via GitHub (1) and James Murty (1)
* master:
  Respect git `core.hooksPath` setting when installing the pre-commit hook #104 (#110)
  Mention zsh completion fix in changelog
  Fix error in zsh completion

# Conflicts:
#	CHANGELOG.md
@jmurty
Copy link
Collaborator Author

jmurty commented Apr 26, 2021

Getting this moving, it should be a pretty safe change even though we haven't receive direct feedback that it fixes the problem

@jmurty jmurty merged commit 79f24e0 into master Apr 26, 2021
jmurty added a commit that referenced this pull request Apr 29, 2021
* main:
  Remove Ubuntu 16.04 LTS from test matrix (#123)
  Configure default Git branch name for macOS tests in GitHub
  Handle rename of primary branch from "master" to "main"
  Ensure Git index is up-to-date before dirty repo  check #37 (#109)
jmurty added a commit that referenced this pull request Jan 15, 2022
* main:
  Improve command hint to fix secret files not encrypted in index (#120) (#130)
  Remove Ubuntu 16.04 LTS from test matrix (#123)
  Configure default Git branch name for macOS tests in GitHub
  Handle rename of primary branch from "master" to "main"
  Ensure Git index is up-to-date before dirty repo  check #37 (#109)
  Fix incorrect salt when partially staged files are commited (#119)
  Use shorthand for grep options for broader compatibility (#121)
jmurty added a commit that referenced this pull request Oct 15, 2022
# By James Murty (18) and others
# Via GitHub (1) and James Murty (1)
* main: (26 commits)
  Centralise load and save of password into functions #141
  Fix date of 2.2.0 release
  Ensure tests use "main" as default branch name #143
  Use OpenSSL for B64 encoding not `base64` which differs between Linux and Mac #140
  Use core attributesFile from worktree (#137)
  Document `xxd` requirement, and make optional with OpenSSL < 3 (#138)
  Prepare for 2.2.0 release
  Fix when using OpenSSL 3 which no longer embeds salt in output (#135)
  Consolidate all git operation scripts into a single transcrypt script
  Fix handling of small files and files with null in first 8 bytes (#116)
  Improve command hint to fix secret files not encrypted in index (#120) (#130)
  Remove Ubuntu 16.04 LTS from test matrix (#123)
  Configure default Git branch name for macOS tests in GitHub
  Handle rename of primary branch from "master" to "main"
  Ensure Git index is up-to-date before dirty repo  check #37 (#109)
  Fix incorrect salt when partially staged files are commited (#119)
  Use shorthand for grep options for broader compatibility (#121)
  Let user set a custom path to openssl #108
  Install entire transcrypt script into repository
  Change version to indicate development "pre-release" status
  ...

# Conflicts:
#	README.md
#	tests/_test_helper.bash
#	tests/test_cleanup.bats
#	tests/test_crypt.bats
#	tests/test_init.bats
#	tests/test_not_inited.bats
#	transcrypt
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.

3 participants