This project is mirrored from https://github.com/oh-my-fish/oh-my-fish.git. Updated .
  1. 30 Sep, 2022 1 commit
    • Simon Plakolb's avatar
      Fix cutting of paths with equals signs · 55da5f7b
      Simon Plakolb authored
      Cut splits by equals sign and takes the second field. This ignores path
      contents after a second equals sign. Currently this prevents the
      installation on NixOS as the nix store path automatically contains a
      "=".
      
      This PR instead selects all but the first field and equals sign, leaving
      the passed paths as intended.
      55da5f7b
  2. 29 Sep, 2022 1 commit
  3. 01 Jun, 2022 1 commit
  4. 22 Jul, 2021 2 commits
  5. 29 Sep, 2022 3 commits
  6. 27 Mar, 2022 3 commits
  7. 09 Mar, 2022 4 commits
  8. 17 Dec, 2021 1 commit
  9. 05 Nov, 2021 1 commit
  10. 31 Oct, 2021 1 commit
  11. 01 Sep, 2021 1 commit
  12. 04 Mar, 2021 3 commits
  13. 07 Feb, 2021 1 commit
  14. 25 Jan, 2021 5 commits
  15. 24 Jan, 2021 1 commit
  16. 23 Jan, 2021 2 commits
  17. 06 Dec, 2020 1 commit
  18. 13 Dec, 2020 1 commit
  19. 12 Dec, 2020 2 commits
  20. 22 Jan, 2021 1 commit
  21. 03 Dec, 2020 1 commit
  22. 02 Dec, 2020 1 commit
  23. 01 Dec, 2020 2 commits
    • Johannes Altmanninger's avatar
      Fix error when inside a bare git repository · 0a325844
      Johannes Altmanninger authored
      For example, "git diff" would print
      "fatal: this operation must be run in a work tree"
      
      We could still run git_branch_name in bare repositories in future.
      0a325844
    • Johannes Altmanninger's avatar
      Check whether we are inside the worktree (#651) · b1b10c33
      Johannes Altmanninger authored
      Some git commands require to be run from inside the worktree (as opposed
          to the git dir, although it's usually in .git). This commit adds
      a function git_is_worktree to check this. It is used for the commands
      that need the worktree instead of git_is_repo.
      
      An alternative solution might have been to find the git worktree in the
      parent of the git directory, but this doesn't work for all cases.
      Generally it's impossible to detect the location of the worktree (plus
          it's not unique).
      Co-authored-by: default avatarPablo Aguiar <scorphus@gmail.com>
      b1b10c33