1. 10 10月, 2019 3 次提交
  2. 09 10月, 2019 1 次提交
  3. 08 10月, 2019 3 次提交
  4. 04 10月, 2019 6 次提交
    • M
      Merge pull request #2291 from sinisterstuf/fork-completions · 51a25659
      Mislav Marohnić 提交于
      Add completions for git fork
      51a25659
    • S
      Update tests to include new bash completion options for git fork · f3258378
      Siôn le Roux 提交于
      Now that there are 3 different flags all starting with the same two
      dashes, the previous test case (that pressing Tab will expand to
      --no-remote) will fail.
      
      The previous test case has been replaced with one that expects a list of
      completion options matching those provided for git fork.
      f3258378
    • S
      Make --no-remote and --remote-name completions mutually exclusive · 5f5dd4c9
      Siôn le Roux 提交于
      Because it wouldn't make sense to set a name for a remote when you ask
      it not to add a remote (or vice versa) these two flags are mutually
      exclusive.
      
      For lack of an idea for a more elegant solution, I've made it so that
      whenever either of them matches, the other will also be dropped from the
      available flags list.  This works perfectly for now but will probably
      need to be revisited if any other such parameters are added in future.
      5f5dd4c9
    • S
      Don't suggest completions for git fork free-text arguments · 1d209b89
      Siôn le Roux 提交于
      The --remote-name and --org parameters to git fork expect arguments
      which can be considered free text because the user has to suggest a
      name, so we can't provide suggestions there.
      
      If one of those two was the previous word then we clear completion
      suggestions until a free-text word has been entered, allowing the user
      to add their own input there.
      1d209b89
    • S
      Add --org flag to bash completion for git fork · 1a4bd7b9
      Siôn le Roux 提交于
      Because this is an array of flags now, adding new flags is as simple as
      adding more elements to the array and to the case statement.
      1a4bd7b9
    • S
      Add --remote-name flag to bash completion for git fork · 1cd31ae8
      Siôn le Roux 提交于
      Instead of adding more if statements I swapped the remote=yes variable
      for a list of available flags which we drop elements from on each
      completion.  This is based on the logic in git create above.
      
      Fixes #2108.
      1cd31ae8
  5. 03 10月, 2019 10 次提交
  6. 01 10月, 2019 4 次提交
  7. 29 9月, 2019 2 次提交
  8. 23 9月, 2019 2 次提交
  9. 21 9月, 2019 6 次提交
  10. 13 9月, 2019 1 次提交
  11. 08 9月, 2019 1 次提交
  12. 07 9月, 2019 1 次提交