-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Add location history for Set-Location to enable 'cd -' scenario (issue #2188) #5051
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
Merged
iSazonov
merged 23 commits into
PowerShell:master
from
bergmeister:SimpleLocationHistory
Jun 26, 2018
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
030c93d
Implement location history feature for Set-Location.
bergmeister 10bae7e
Use an existing stack implementation instead of relying on an environ…
bergmeister 61d0c2f
Use a bounded stack with a limit of 1000 and adapt tests.
bergmeister bdb2b31
Merge branch 'master' of https://github.com/PowerShell/PowerShell int…
bergmeister 552c3ab
Fix test: use get-location explicitly to avoid subtle difference in t…
bergmeister c9e84e7
Merge branch 'master' of https://github.com/PowerShell/PowerShell int…
bergmeister 0cceb96
Move initialization of _workingLocationHistoryStack into constructor …
bergmeister c3fad99
Simple syntax fix (C# comments are //, not # as in PowerShell)
bergmeister 527c2a3
Fix 'Location History is limited' test for the new limit, which is 20
bergmeister 61c405b
Merge branch 'master' of https://github.com/PowerShell/PowerShell int…
bergmeister 3780ff8
Merge branch 'master' of https://github.com/PowerShell/PowerShell int…
bergmeister 7115276
Merge branch 'master' of https://github.com/PowerShell/PowerShell int…
bergmeister 08cf9b5
Make new BoundedStack class in engine utils internal
bergmeister ea7c4ba
Merge branch 'master' of https://github.com/PowerShell/PowerShell int…
bergmeister 4565bfe
Merge branch 'master' of https://github.com/PowerShell/PowerShell int…
bergmeister aaa9195
upgrade pester tests to v4 and replace deprecated pester method
bergmeister 1d6aadc
[feature] Address PR comments by ISazonov about newlines and OrdinalI…
bergmeister 7dc6c80
Merge branch 'master' of https://github.com/PowerShell/PowerShell int…
bergmeister 45d75af
[feature]
bergmeister 96b6334
Merge branch 'master' of https://github.com/bergmeister/PowerShell in…
bergmeister 96af36f
Address PR feedback by @rjmholt and upstream branch
bergmeister 604cd58
Address naming and comment recommendations by @BrucePay
bergmeister 8b06d37
Address last comment by @BrucePay to give more specific error message…
bergmeister File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe include braces for the
ifand drop thethisfrom property references. That seems to be the style convention of the file.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, I agree. Fixed.