Questions tagged as 'diff'

1
answer

Additions and Deletions per file in commit

I'm using the git log --stat <commit> command to get the additions and deletions made to a commit. Ex: commit 1a1a Author: Gabriel Hardoim Date: 2018-08-20 20:30:40 arquivo.java | 3 +++ arquivo.css | 3 --- 2 files chan...
asked by 11.09.2018 / 18:42
1
answer

Diff Ignore whitespace and line breaks [duplicate]

Does anyone know of a diff tool that can ignore all white space and line breaks? Ex: File1.html <html> <head> <title>Title</title> File2.html <html><head> <title>...
asked by 02.09.2015 / 20:51
0
answers

diff of a file in a specific commit and HEAD

How can I compare the difference to HEAD and the last commit that contains specific file? To find the last commit that contains the file, read the information in git diff file against its last change . However, running the command...
asked by 21.03.2018 / 01:09
0
answers

subtraction in Diff R software

My level in R is beginner if you can help me with a problem I'll be grateful. I have a math function that generates a vector, and I have to subtract between the value of the second column minus the value of the first column, between the value...
asked by 05.02.2016 / 17:57
1
answer

date_diff returns incorrect difference

I was doing tests with this function, but it returns an incorrect difference, how do I get around this? Example: when compared the difference between 01/01 and 01/03 returns the difference of one month, and only when it is 03/03 to return the...
asked by 26.10.2018 / 19:28
0
answers

How to handle date / time difference in haskell

I'm having trouble calculating the difference between two UTCTime instances in haskell. I need to calculate the days difference, plus the difference in days, hours and minutes. I'm getting the start time with the code: now <- getCurrentT...
asked by 02.10.2018 / 00:46
1
answer

How to compile GNU DiffUtils3 for use with MediaWiki on Windows?

I'm installing MediaWiki in Windows but I need to install the DiffUtils3 . I could only find the installer for the version 2.8.7 , it seems to me that 3 has to compile. Could someone help me with this? Or do you know where I can download the...
asked by 09.08.2017 / 15:27
1
answer

Compare remote repositories

I have in git a code in which my colleagues cloned and sent me pull requests, but I think they have duplicate code between them. I've added their repositories to my machine and I want to compare a file from different repositories. Example:...
asked by 16.11.2018 / 19:17