1. 14 4月, 2019 1 次提交
    • M
      Propagate global git arguments to Before/After chains · d8973922
      Mislav Marohnić 提交于
      This fixes `hub -C mydir merge <URL>` and other commands that might be
      invoked with git global arguments by ensuring that those global
      arguments are also fowarded to any accompanying `git` commands within
      `Before()` and `After()` chains.
      d8973922
  2. 15 2月, 2016 1 次提交
  3. 20 1月, 2016 1 次提交
  4. 09 7月, 2015 3 次提交
    • M
      More efficient `--noop` detection · 7ea2575e
      Mislav Marohnić 提交于
      Avoids mutating `globalFlags` until a match has actually been found.
      7ea2575e
    • M
      fc739aa2
    • M
      Avoid depending on a hardcoded list of git global flags · c2d5e719
      Mislav Marohnić 提交于
      We used to recognize git global flags based on a hardcoded list.
      Whenever git added more global flags, we didn't support them in hub
      until we updated the list.
      
      Now, treat all flags coming before the subcommand as global flags. These
      are the rules:
      
      1. Initially, every argument except `--help` and `--version` that starts
         with a `-` is considered to be a global flag.
      
      2. Additionally, `-c` and `-C` flags have a value.
      
      3. When an argument appears that doesn't match the above rules, assume
         that it's the git subcommand and stop global args parsing.
      c2d5e719
  5. 18 2月, 2015 1 次提交
  6. 15 1月, 2015 2 次提交
  7. 13 1月, 2015 1 次提交
  8. 01 12月, 2014 1 次提交
  9. 25 11月, 2014 1 次提交
  10. 23 10月, 2014 1 次提交
  11. 08 4月, 2014 1 次提交
  12. 11 12月, 2013 2 次提交
  13. 11 7月, 2013 1 次提交
  14. 03 7月, 2013 2 次提交
  15. 29 6月, 2013 2 次提交