Skip to content
#

diff

Here are 811 public repositories matching this topic...

christianbundy
christianbundy commented Jan 11, 2020

Background: I have a pull request into a repository where the npm module isn't up-to-date with master, and I'd like to test out my branch in a module that depends on it through a bunch of different deep dependencies. It seems like patch-package would be a great solution for this.

Problem: When I append .patch to my GitHub URL it gives me a patch, but when I pass it to patch -p1 it

gterras
gterras commented Jan 30, 2018

The current example in https://github.com/benjamine/jsondiffpatch/blob/master/docs/formatters.md does not trigger html arrows display.

This is the closest I've came up with to make it work :

  var delta = jsondiffpatch.diff(left, right);
  // left is optional, if specified unchanged values will be visible too

  var el = document.getElementById('the-diff');

 el.innerHTML = jso
teodorpenkov
teodorpenkov commented Jun 23, 2019

Currently it's not possible to override SectionedViewType default method implementations in subclasses of UITableView. I'd like to prevent the default animations and just re-render the cell just like Apple suggests in reload rows Discussion https://developer.apple.com/documentation/uikit/uitableview/1614935-reloadrows.

Unfortunately when I try to override reloadItemsAtIndexPaths the com

znakeeye
znakeeye commented Sep 27, 2019

In your list of examples, you have this piece of code:

let old = Array("abcd")
let new = Array("adbc")
let changes = diff(old: old, new: new)

// Move "d" from index 3 to index 1

Is this indeed correct or was this before introducing the Heckel algorithm?

Haven't verified this, but doesn't Heckel produce all three moves in this case? I.e.:

// Move "d" from i
spider-mane
spider-mane commented Feb 21, 2020

In twig, whenever a comment starts the first non-empty line following an opening tag, the attributes are forced onto a new line and indented.

<div class="container text-white-90">

  {# brand/ logo #}

becomes

<div 
  class="container text-white-90">

  {# brand/ logo #}

I'm using the Twig Language VS Code extension, but this also happens on the website

gerundt
gerundt commented Aug 27, 2019

Because of the switch to GitHub I looked at the ReadMe.txt and it looks really outdated. For example, the whole part with the Archive Support can removed. In general, seems a shortcut to a readme file in the start menu fit the time of Windows XP. Modern programs mostly add now only a shortcut to the program itself, nothing more.

In the first step, I would suggest removing the file from the st

Improve this page

Add a description, image, and links to the diff topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the diff topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.