Re: Line ends by comment character(s)

Stefan Küng <[email protected]>
Newsgroups gmane.comp.version-control.subversion.tortoisesvn.devel
Message-ID <[email protected]>
On 11.07.2016 12:43, Hubert Sack wrote:
> I've a lot of source code for a PCS. There the "real" end-of-line is
> the ; character, the rest of the line is comment. Some tools of mine
> places reference information in such comments - some of them are
> references to the linenumber. In the current version of TortoiseMerge
> there ist no option to set an "end-of-line" character (or a grep
> expression - this would be an extremly powerful option) to able to
> ignore differences in comments (like differences in whitespaces now)
> So I suggest to add an option "ignoring differences in comments"
> _and_ a string (or a grep expression), how this comment "starts"
> e.g. // for c++ -- for VHDL ; for assembler (and this would be true
> for my use, too)

There's a filter feature available, where you can set a regex and a 
replace string. Just replace all comments with an empty string and they 
will be ignored.

Stefan


-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=3178566

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.