Summary: | kompare refuses to compare with a file containing "--- ... ---" | ||
---|---|---|---|
Product: | [Applications] kompare | Reporter: | Willi Richert <w.richert> |
Component: | general | Assignee: | Kompare developers <kompare-devel> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | adrian, bleverett, chealer, esigra, finex, gmatht, zwaardmeester |
Priority: | NOR | ||
Version: | 4.1.2 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Willi Richert
2005-05-13 13:08:32 UTC
This is gonna be a little spammy... I'm reassigning everything that's currently assigned to bruggie (who's been the default assignee for bugs since time began) to the new list address. Bruggie: if you're working on one or more of these atm, please snatch 'em back.. Everyone, esp. Joshua and Bruggie: if this genrates 33 mails, my sincere apologies.. In my case it says "No models or no differences, this file: /home/xp/b, is not a valid diff file." I can confirm this on Kompare 3.4 (Using KDE 3.5.5-0.2.fc6 Fedora-Core) and KDE 3.5.8 (Ubuntu 7.10) Please, could you explain how to exactly reproduce the bug? thanks! To reproduce: echo "--- ---" > test echo hi > hi kompare test hi Still occurs in Ubuntu 8.10 (Kompare 3.5 1, KDE 4.1.3) Thanks! I've reproduced it too using current trunk r905373! That's because it thinks the file which starts with -- is a diff and thus interprets the 2 files as a diff and a target file, not as 2 files to compare. (In reply to comment #4) > To reproduce: > echo "--- ---" > test > echo hi > hi > kompare test hi This happens to me, too, with asterisks: *** empty log message *** In a .c file, I get the message "No models or no differences "... Also, "+++ +++" causes the error to occur. I tried a bunch of other characters besides these, but I only found the plus symbol to also cause the problem. Still happening in Kompare 4.1.2. Please someone have a look! Also happens with "===" foo "===" (MediaWiki subsection foo). |