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

sometimes xUnique did not sort when do both uniquifying and sorting #3

Closed
truebit opened this issue Aug 21, 2014 · 0 comments
Closed
Labels

Comments

@truebit
Copy link
Owner

truebit commented Aug 21, 2014

  • Without any argument, xUnique do both unique and sort. when used by a pre-commit hook, it worked as below:
Uniquify and Sort
Ignore uniquify, no changes made to /Users/test/Documents/test/Test.xcodeproj
Ignore sort, no changes made to /Users/test/Documents/test/Test.xcodeproj
Uniquify and Sort done
  • Actually the project file needs to be sorted and xUnique did not sort it;
  • When using -s alone to sort, sorting works fine.

Cause: unique and sort using the same .bak filename, it may exist conflict. After change different backup file name for sorting and uniquifying, it works without conflicts

@truebit truebit added the bug label Aug 21, 2014
truebit pushed a commit that referenced this issue Aug 21, 2014
@truebit truebit closed this as completed Aug 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant