Print this page
3272 findunref should support git

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/scripts/nightly.sh
          +++ new/usr/src/tools/scripts/nightly.sh
↓ open down ↓ 2116 lines elided ↑ open up ↑
2117 2117  # Echo the SCM types of $CODEMGR_WS and $BRINGOVER_WS
2118 2118  function child_wstype {
2119 2119          typeset scm_type junk
2120 2120  
2121 2121          # Probe CODEMGR_WS to determine its type
2122 2122          if [[ -d $CODEMGR_WS ]]; then
2123 2123                  $WHICH_SCM | read scm_type junk || exit 1
2124 2124          fi
2125 2125  
2126 2126          case "$scm_type" in
2127      -        none|subversion|teamware|mercurial)
     2127 +        none|subversion|git|teamware|mercurial)
2128 2128                  ;;
2129 2129          *)      scm_type=none
2130 2130                  ;;
2131 2131          esac
2132 2132  
2133 2133          echo $scm_type
2134 2134  }
2135 2135  
2136 2136  SCM_TYPE=$(child_wstype)
2137 2137  
↓ open down ↓ 1110 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX