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

Add single argument form of diff.namespace #2303

Merged
merged 5 commits into from
Aug 11, 2021

Conversation

sullyj3
Copy link
Contributor

@sullyj3 sullyj3 commented Aug 7, 2021

Overview

You can now do

.> diff.namespace before

to diff before with the current namespace.

Closes #1531

Implementation notes

Modifies the appropriate InputPattern

Interesting/controversial decisions

None, fairly straightforward change

Test coverage

Added a line to diff.md to check for same output as two argument form.

Loose ends

none.

sullyj3 added 3 commits August 9, 2021 15:38
The output for

```
.b2> diff.namespace .b1
```

should be the same as the output for

```
.> diff.namespace b1 b2
```

What the heck?
@sullyj3 sullyj3 force-pushed the diffWithCurrentNamespace branch from fa7568c to 36719e6 Compare August 9, 2021 08:01
@sullyj3 sullyj3 marked this pull request as ready for review August 9, 2021 08:08
@sullyj3
Copy link
Contributor Author

sullyj3 commented Aug 9, 2021

Ok I'm happy with this, let me know if I need to add any more tests/other forms of testing.

@pchiusano
Copy link
Member

Great, thanks so much for knocking this out. I have definitely missed this.

@pchiusano pchiusano merged commit 4bddd67 into unisonweb:trunk Aug 11, 2021
@sullyj3
Copy link
Contributor Author

sullyj3 commented Aug 12, 2021

No problem ☺️

@sullyj3 sullyj3 deleted the diffWithCurrentNamespace branch August 12, 2021 02:33
@pchiusano pchiusano mentioned this pull request Aug 20, 2021
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.

simplify diff.namespace with current namespace as "after"
3 participants