Code

History

Commits on ig/commit-debug to lib/src/git.rs280+
  1. git: add separate step to apply HEAD@git changeYuya Nishihara committed 3 years ago157a0e7
  2. git: remove redundant id.clone() from diff_refs_to_import()Yuya Nishihara committed 3 years ago359c871
  3. git: propagate errors for missing commits when importing refsMartin von Zweigbergk committed 3 years agod1dbe6d
  4. git: ensure that remote branches never divergeYuya Nishihara committed 3 years agoe7e4952
  5. git: refactor SSH key callbacks to allow multiple keysMartin von Zweigbergk committed 3 years ago1d2324a
  6. git: only try to use ssh-agent once per connectionMartin von Zweigbergk committed 3 years agoc752b43
  7. git: on import_refs(), filter out uninteresting refs earlierYuya Nishihara committed 3 years agoc8f7a5f
  8. git: extract immutable part of import_refs() to separate functionYuya Nishihara committed 3 years agob3ee8a0
  9. git: calculate refs to be imported first, then apply in later passYuya Nishihara committed 3 years agoa2b8d1c
  10. git: on import_refs(), use post-mutation view to collect heads to be pinnedYuya Nishihara committed 3 years agofeaddf6
  11. refs: rename RefTarget::is_conflict() to has_conflict()Yuya Nishihara committed 3 years ago2bbaa43
  12. view: replace .git_refs().get(name) with .get_git_ref(name)Yuya Nishihara committed 3 years ago92ee512
  13. refs: reimplement RefTarget as Conflict<Option<CommitId>> wrapperYuya Nishihara committed 3 years ago4da8483
  14. refs: pass &Option<RefTarget> into merge_ref_targets()Yuya Nishihara committed 3 years agob6967a1
  15. view: store Option<RefTarget> in maps, add extension trait to flatten OptionYuya Nishihara committed 3 years ago443391b
  16. cleanup: use let-else now that we're on Rust 1.65+Martin von Zweigbergk committed 3 years agoe033f91
  17. refs: add stub constructors for absent RefTarget, replace None with itYuya Nishihara committed 3 years ago0461a85
  18. refs: leverage Option<RefTarget> extension methodsYuya Nishihara committed 3 years ago9c69a7c
  19. refs: turn RefTarget::adds()/removes() into iterator, rename accordinglyYuya Nishihara committed 3 years ago4cfe259
  20. refs: migrate other pattern matches against RefTarget enumYuya Nishihara committed 3 years ago44eb83b
  21. refs: add constructor of Some(RefTarget::Normal(id))Yuya Nishihara committed 3 years agoe55c533
  22. view: unify set/remove_remote_branch() functions to take Option<RefTarget>Yuya Nishihara committed 3 years ago78eea06
  23. view: unify set/remove_git_ref() functions to take Option<RefTarget>Yuya Nishihara committed 3 years ago3be4622
  24. view: unify set/clear_git_head() functions to take Option<RefTarget>Yuya Nishihara committed 3 years ago5218591
  25. git: do not import/export local branch named "HEAD"Yuya Nishihara committed 3 years ago79955d9
  26. git: add logic to prevent invalid branch name from being exportedYuya Nishihara committed 3 years agoc1b87d4
  27. docs: warn about missing docs for `jj-lib` crateWaleed Khan committed 3 years ago54dba51
  28. clippy: fix nightly clippy warnings *except* for `needless_raw_string_hashes`Ilya Grigoriev committed 3 years agod81c599
  29. git: extract helper that merges pseudo @git targets in branches mapYuya Nishihara committed 3 years ago2606a10
  30. git: refactor git_ref_filter construction in fetch()Yuya Nishihara committed 3 years ago895ebef
  31. git: consistently ignore unrelated refs on fetch()Yuya Nishihara committed 3 years agoa934547
  32. git: move remove/rename remote logic to libraryYuya Nishihara committed 3 years agoa21397b
  33. view: add default formatting to RefName, use it to print unexported branchesYuya Nishihara committed 3 years agof3d6616
  34. git fetch: limit export of deleted refs to provided globsIlya Grigoriev committed 3 years ago597a74d
  35. git fetch: do a `git export` of deleted branches before fetchIlya Grigoriev committed 3 years ago371e7f4