1. 04 Nov, 2015 1 commit
  2. 25 Jun, 2015 1 commit
  3. 22 Jun, 2015 2 commits
    • submodule: add an ignore option to status · c6f489c9
      This lets us specify in the status call which ignore rules we want to
      use (optionally falling back to whatever the submodule has in its
      configuration).
      
      This removes one of the reasons for having `_set_ignore()` set the value
      in-memory. We re-use the `IGNORE_RESET` value for this as it is no
      longer relevant but has a similar purpose to `IGNORE_FALLBACK`.
      
      Similarly, we remove `IGNORE_DEFAULT` which does not have use outside of
      initializers and move that to fall back to the configuration as well.
      Carlos Martín Nieto committed
    • submodule: don't let status change an existing instance · 64bbd47a
      As submodules are becomes more like values, we should not let a status
      check to update its properties. Instead of taking a submodule, have
      status take a repo and submodule name.
      Carlos Martín Nieto committed
  4. 13 May, 2015 1 commit
    • Remove the callbacks struct from the remote · 8f0104ec
      Having the setting be different from calling its actions was not a great
      idea and made for the sake of the wrong convenience.
      
      Instead of that, accept either fetch options, push options or the
      callbacks when dealing with the remote. The fetch options are currently
      only the callbacks, but more options will be moved from setters and
      getters on the remote to the options.
      
      This does mean passing the same struct along the different functions but
      the typical use-case will only call git_remote_fetch() or
      git_remote_push() and so won't notice much difference.
      Carlos Martín Nieto committed
  5. 03 Mar, 2015 2 commits
  6. 22 Dec, 2014 1 commit
    • Introduce a convenience function for submodule update · 9d1f97df
      This introduces the functionality of submodule update in
      'git_submodule_do_update'. The existing 'git_submodule_update' function is
      renamed to 'git_submodule_update_strategy'. The 'git_submodule_update'
      function now refers to functionality similar to `git submodule update`,
      while `git_submodule_update_strategy` is used to get the configured value
      of submodule.<name>.update.
      Jameson Miller committed