VirtualBox

Changeset 69464 in vbox


Ignore:
Timestamp:
Oct 28, 2017 10:59:09 AM (7 years ago)
Author:
vboxsync
Message:

scm: updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bldprogs/scm.cpp

    r69462 r69464  
    355355    &g_AdjustTrailingLines,
    356356    &g_SvnNoExecutable,
     357    &g_SvnKeywords,
    357358    &g_Copyright_CstyleComment,
    358359    &g_C_and_CPP
     
    593594};
    594595
    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 
    604596static PCSCMREWRITERCFG const g_apRewritersFor_SqlFiles[] =
    605597{
     
    613605};
    614606
     607static 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
     618static 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
     627static PCSCMREWRITERCFG const g_apRewritersFor_PlainTextFiles[] =
     628{
     629    &g_ForceNativeEol,
     630    &g_StripTrailingBlanks,
     631    &g_SvnKeywords,
     632    &g_SvnNoExecutable,
     633};
     634
     635static PCSCMREWRITERCFG const g_apRewritersFor_BinaryFiles[] =
     636{
     637    &g_SvnBinary,
     638};
     639
    615640static PCSCMREWRITERCFG const g_apRewritersFor_FileLists[] = /* both makefile and shell script */
    616641{
     
    620645    &g_AdjustTrailingLines,
    621646    &g_Copyright_HashComment,
    622 };
    623 
    624 static PCSCMREWRITERCFG const g_apRewritersFor_BinaryFiles[] =
    625 {
    626     &g_SvnBinary,
    627647};
    628648
     
    664684    SCM_CFG_ENTRY("sif",        g_apRewritersFor_SifFiles,         false, "*.sif" ),
    665685    SCM_CFG_ENTRY("sql",        g_apRewritersFor_SqlFiles,         false, "*.pgsql|*.sql" ),
     686    SCM_CFG_ENTRY("gas",        g_apRewritersFor_GnuAsm,           false, "*.S" ),
    666687    SCM_CFG_ENTRY("binary",     g_apRewritersFor_BinaryFiles,      false, "*.bin|*.pdf" ),
    667     SCM_CFG_ENTRY("text",       g_apRewritersFor_TextFiles,        false, "*.txt|README*|readme*" ),
    668688    /* These should be be last: */
    669689    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" ),
    670692    SCM_CFG_ENTRY("file-list",  g_apRewritersFor_FileLists,        false, "files_*" ),
    671693};
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette