git-autofixup

create fixup commits for topic branches

OTHER License

Stars
182
Committers
5

Bot releases are visible (Hide)

git-autofixup - v0.004005 Latest Release

Published by torbiak 12 months ago

Since v0.004003:

  • fix --help: pod2usage() wasn't being called correctly
  • fix some issues when running tests on Windows or with old versions of Git
git-autofixup - v0.004003

Published by torbiak about 1 year ago

The previous release created on GitHub was v0.003001. Significant changes since then:

  • Automatically choose an upstream revision if one isn't supplied, based on the upstream/tracking branch.
  • Support Git for Windows. (Load Pod::Usage at runtime since Git for Windows doesn't include it.)
  • Support quoted filenames in diff output. git-autofixup now works with filenames containing non-ASCII characters.
  • Speed up creation of the temporary git index by copying the existing one and subtracting recent changes.
  • Speed up git-blame by only considering commits since the given revision.
  • Improve error messages and handling. For git commands that are expected to fail, their stderr is captured, annotated with the command, and printed, to clarify the cause of errors.
  • Suppress Git warning about implicit default branch.
  • Deprecate --gitopt|-g in favor of using the GIT_CONFIG_{COUNT,KEY,VALUE} environment variables.

Many thanks to Johannes Altmanninger for his continued work maintaining and improving git-autofixup. Also, thanks to Walter Smuts for his help in choosing the default value for the upstream revision.

git-autofixup - v0.003001

Published by torbiak almost 4 years ago

Fix bug where the index would be left out-of-sync with HEAD after autofixing unstaged hunks due to a temporary index being used. If you're running v0.003000 and hit this, git restore --staged can be used to read the new HEAD's tree into the index. Thanks to Johannes Altmanninger for finding and fixing this.

git-autofixup - 0.003000

Published by torbiak almost 4 years ago

The most important change to the interface is that now, if there are any hunks staged in the index, only those hunks will be considered for assigning to fixup commits. A temporary git index is used to make any created fixup commits, so any staged hunks that don't get assigned will remain staged. Thanks to Jonas Bernoulli and Max Odnoletkov for their help with this.

  • Add --gitopt to allow working around git settings issues
  • Add --exit-code option, which gives more granular status about what subset of hunks were assigned to commits

Bug fixes:

  • Fix diff commands so that the diff.noprefix, diff.mnemonicPrefix, and diff.external settings don't result in us getting unexpected input. Thanks to Paolo Giarrusso and Ryan Campbell for help with this.
  • Fix bug where multiple hunks assigned to the same commit would result in copies of the same fixup commit, resulting in "patch does not apply" errors. Thanks to Johannes Altmanninger for identifying and fixing this.