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 DiffMerge tool support #481

Closed
wants to merge 16 commits into from
Closed

Add DiffMerge tool support #481

wants to merge 16 commits into from

Conversation

akantsevoi
Copy link

Close the issue #59

@lucasderraugh
Copy link
Collaborator

@akantsevoi I've recently taken over as temporary maintainer of GitUp. If I can get an overview of visual changes, I'd love to start the discussion on merging this in.

@akantsevoi
Copy link
Author

Hi @lucasderraugh , nice to meet you. What do you mean about visual changes? Some screenshots or like that?

@lucasderraugh
Copy link
Collaborator

@akantsevoi Nice to meet you too! Screenshots of any visual changes would be great! Along with just a brief explanation of the code and what you're trying to accomplish with it. Just helps when I'm testing out the change to know what differences I should be looking for.

[arguments addObject: ourPath];
[arguments addObject: ancestorPath];
[arguments addObject: theirPath];
[self _runDiffMergeToolWithArguments: arguments];
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we remove the spacing after the colon in these 4 spots. Other than that, code wise this looks good to me.

@swisspol
Copy link
Contributor

swisspol commented Jun 9, 2019 via email

@lucasderraugh
Copy link
Collaborator

@swisspol Do you just run that periodically and make a new commit? Would be nice if that could somehow be done before merging, but it's good to know that script exists.

@swisspol
Copy link
Contributor

swisspol commented Jun 9, 2019 via email

@lucasderraugh
Copy link
Collaborator

lucasderraugh commented Jun 20, 2019

@akantsevoi How would I go about testing this change? Some steps to verify would be great so I can push this change along. Thanks!

zwaldowski and others added 13 commits June 20, 2019 22:49
…ing (#528)

This addresses a crash that became consistent on macOS Catalina, but
was ultimately caused by the early freeing of a git_repository instance,
by closing and reopening a repository whenever its location has changed
on the filesystem.

In order to support this change, window frame saving is suspended for
the reopened repository in order to avoid writing to the old location
of the repository.

Finally, the welcome window is no longer shown when all documents close
to prevent it from appearing during one of these re-openings. Clicking
on the GitUp icon in the dock will still show the welcome window. This
behaves similarly to Xcode.
* Perform Xcode 10.2 modernization

* Update deployment target to 10.9

* Fixes libgit2 reference in GitUpKit for iOS

* Make all targets use shared config

* Adopt base localization

* Update the tools used to build on CI

* Adopt guarded availability checking

* NSViewController is part of the responder chain after 10.10

* NSViewController has native appearance callbacks after 10.10

* Fix trivial warnings

* Update deployment target to 10.10
* Add a helper for looking up the GitUpKit bundle

* Add polyfills for NSAppearance

* Enable dark mode

* Draw consistent grid for diffs with line number gutters in dark mode

* Remove map status label backgrounds on Mojave

For some reason the label backgrounds did not match the window background in dark mode. As I understand it, Mojave no longer uses sub-pixel antialiasing so this workaround is no longer needed.

* Add a namespace for defining semantic colors

* Allow window-tinted background in graph view

* Support Dark Mode in modal views

* Fix dark-on-dark text in selected cells in dark mode

* Don't fill the background color for conflict/empty rows in diff views

* Support Dark Mode in welcome window

* Support Dark Mode in main window toolbar

* Support Dark Mode in main window status bar

* Support Dark Mode in window tip overlays

* Support Dark Mode in map view

* Support Dark Mode in diff views

* Support Dark Mode in commit editors

* Support Dark Mode in commit viewers

* Support Dark Mode in commit lists

* Improve branch colors

More closely based on the system colors like systemRedColor. Adds orange instead of using two variants of green. Uses more saturated colors in Dark Mode

* Support Dark Mode in config editor

* Update Document.m

Fix bad merge from master
* Remove extra indirection in file lists

* Use native table view drag handling in diff views

* Use the common dragging implementation for copying in a diff files view

* Provide the plain-text relative path for diff view drag and drop

* Allow dragging files out of the working copy into external apps

* Allow dragging files out of diffs into external apps
@lucasderraugh
Copy link
Collaborator

lucasderraugh commented Jul 15, 2019

Somehow there is a merge commit that I didn't want but I guess GitHub Desktop insisted on and so it's screwed this branch. Definitely don't want to make the changes that I've put on here now, but I'll take what you had and create a new PR. Sorry for this, was just trying to resolve a xib file conflict...
Last time I used GitHub Desktop to make pr handling "easier".

lucasderraugh added a commit that referenced this pull request Jul 15, 2019
Changes come from original PR #481 made by @akantsevoi. Fixes #59.
@lucasderraugh
Copy link
Collaborator

Sorry @akantsevoi. I've rebased your changes on master and they're set to be taken whenever I can fix the continuous build signing issues. Your changes were added with 6aa8df8

simpzan pushed a commit to simpzan/GitUp that referenced this pull request Oct 22, 2020
Changes come from original PR git-up#481 made by @akantsevoi. Fixes git-up#59.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants