Changeset 69464 in vbox
- Timestamp:
- Oct 28, 2017 10:59:09 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bldprogs/scm.cpp
r69462 r69464 355 355 &g_AdjustTrailingLines, 356 356 &g_SvnNoExecutable, 357 &g_SvnKeywords, 357 358 &g_Copyright_CstyleComment, 358 359 &g_C_and_CPP … … 593 594 }; 594 595 595 static PCSCMREWRITERCFG const g_apRewritersFor_TextFiles[] =596 {597 &g_ForceNativeEol,598 &g_StripTrailingBlanks,599 &g_SvnKeywords,600 &g_SvnNoExecutable,601 /** @todo check for plain copyright + license in text files. */602 };603 604 596 static PCSCMREWRITERCFG const g_apRewritersFor_SqlFiles[] = 605 597 { … … 613 605 }; 614 606 607 static PCSCMREWRITERCFG const g_apRewritersFor_GnuAsm[] = 608 { 609 &g_ForceNativeEol, 610 &g_ExpandTabs, 611 &g_StripTrailingBlanks, 612 &g_AdjustTrailingLines, 613 &g_SvnKeywords, 614 &g_SvnNoExecutable, 615 &g_Copyright_CstyleComment, 616 }; 617 618 static PCSCMREWRITERCFG const g_apRewritersFor_TextFiles[] = 619 { 620 &g_ForceNativeEol, 621 &g_StripTrailingBlanks, 622 &g_SvnKeywords, 623 &g_SvnNoExecutable, 624 /** @todo check for plain copyright + license in text files. */ 625 }; 626 627 static PCSCMREWRITERCFG const g_apRewritersFor_PlainTextFiles[] = 628 { 629 &g_ForceNativeEol, 630 &g_StripTrailingBlanks, 631 &g_SvnKeywords, 632 &g_SvnNoExecutable, 633 }; 634 635 static PCSCMREWRITERCFG const g_apRewritersFor_BinaryFiles[] = 636 { 637 &g_SvnBinary, 638 }; 639 615 640 static PCSCMREWRITERCFG const g_apRewritersFor_FileLists[] = /* both makefile and shell script */ 616 641 { … … 620 645 &g_AdjustTrailingLines, 621 646 &g_Copyright_HashComment, 622 };623 624 static PCSCMREWRITERCFG const g_apRewritersFor_BinaryFiles[] =625 {626 &g_SvnBinary,627 647 }; 628 648 … … 664 684 SCM_CFG_ENTRY("sif", g_apRewritersFor_SifFiles, false, "*.sif" ), 665 685 SCM_CFG_ENTRY("sql", g_apRewritersFor_SqlFiles, false, "*.pgsql|*.sql" ), 686 SCM_CFG_ENTRY("gas", g_apRewritersFor_GnuAsm, false, "*.S" ), 666 687 SCM_CFG_ENTRY("binary", g_apRewritersFor_BinaryFiles, false, "*.bin|*.pdf" ), 667 SCM_CFG_ENTRY("text", g_apRewritersFor_TextFiles, false, "*.txt|README*|readme*" ),668 688 /* These should be be last: */ 669 689 SCM_CFG_ENTRY("make", g_apRewritersFor_OtherMakefiles, false, "Makefile|makefile|GNUmakefile|SMakefile" ), 690 SCM_CFG_ENTRY("text", g_apRewritersFor_TextFiles, false, "*.txt|README*|readme*|ReadMe*|NOTE*|TODO*" ), 691 SCM_CFG_ENTRY("plaintext", g_apRewritersFor_PlainTextFiles, false, "LICENSE" ), 670 692 SCM_CFG_ENTRY("file-list", g_apRewritersFor_FileLists, false, "files_*" ), 671 693 };
Note:
See TracChangeset
for help on using the changeset viewer.