- Reverts: https://github.com/lukesampson/scoop/pull/3026
See https://git-scm.com/docs/git-status#_short_format
If the file was modified it shows ` M` and `M ` means it's staged.
Files only containing whitespaces don't get staged by `git add` and we only care about actually staged files.
Since the order of the `git status`-output is not sorted anymore the `Select-Object -First 1` is useless and it now uses `Where-Object` to find the correct line.
- Add preparing changes for extracting the main bucket to https://github.com/scoopinstaller/scoop-main
- Download main bucket on installation
- Add check_main_bucket function
- Add main bucket to buckets.json
- Add docker-compose.yml with default debugging image
- Remove old TODOs
- Refactor bucketdir -> Find-BucketDirectory
- Remove redundant .vscode settings
reopen#3051
Now the code logic: if `SecurityProtocol` is `SystemDefault`, don't change, else change it to `Tls1.2,Tls1.1,Tls1.0`, never support `Ssl3` anymore.
* [auto-pr] Use regex instead of Starts|EndsWith
On my end result of `hub status --porcelain -uno` is prefixed with space on left for some reason,

Alternatively $status could be Trimed before condition

* Use x20
* Use Markdown format in commit message
* Table produced was wrong formatted due to syntax mismatch
* 
* Allow -Help to be called without hub installed
* Add Synopsis
* Respect PascalCase in Parameters
* Add default values for parameters and ValidateScript
Under certain terminals like cmder, `Get-ExecutionPolicy` will show the scope of `Process`. This fix explicitly checks the scope of `CurrentUser`.
Signed-off-by: Ben Dang <me@bdang.it>
- Lint file a bit
- Add synopsis
- Add default parameters
- Replace shortcutted cmdlets / parameters
- Add schema validation for VSCode
- Add recommended VSCode extensions
- Move everything from scoop-sublime-project into settings.json
- Small progress on #2609 and making developers life easier
For AppVeyor CI the `$errorActionPreference` setting is persisting after I install scoop, subsequently causing issues with installing scoop apps (e.g. failing the whole build because an installer executable outputs what looks like an error).