git-format-staged
git-format-staged copied to clipboard
Git command to transform staged files using a formatting command
Thanks to @scamille for this fix! Fixes #88
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...
Removes [got](https://github.com/sindresorhus/got). It's no longer used after updating ancestor dependency [ava](https://github.com/avajs/ava). These dependencies need to be updated together. Removes `got` Updates `ava` from 3.8.1 to 5.2.0 Release notes Sourced from...
I recently ran into a issue when formatting a large C++ file. The error message that always came up was `error: unable to read file content from object database:` coming...
Regex string constant missing r-prefix: https://github.com/hallettj/git-format-staged/blob/74d015669b7f6cc7bb7741976982260bd37c0099/git-format-staged#L80 https://github.com/hallettj/git-format-staged/blob/74d015669b7f6cc7bb7741976982260bd37c0099/git-format-staged#L146 Unused variable err could be replaced with _: https://github.com/hallettj/git-format-staged/blob/74d015669b7f6cc7bb7741976982260bd37c0099/git-format-staged#L110
I am not familiar with system programming. And I want to rewrite the tool in Rust. I am confused, why just ``` fnmatch(entry['src_path'], pattern) ``` instead of ``` fnmatch(normalize_path(entry['src_path'], relative_to=git_root),...
Why don't publish it to [PyPI](https://pypi.org/)? It's easy and will make more people know it and use it.