summaryrefslogtreecommitdiff
path: root/emacs/custom/my-git.el (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-04-29git: bump the summary lenght to 70 charactersFranck Cuny1-1/+1
2022-04-27my-git: sim-pli-fyFranck Cuny1-62/+21
2022-04-16emacs: where to save stateFranck Cuny1-0/+1
2022-04-14replace avy/counsel with vertico/consultFranck Cuny1-2/+1
2022-03-25git: add more forgesFranck Cuny1-3/+7
2022-03-25git: add back the forge packageFranck Cuny1-0/+18
It's useful to keep track of the repositories, the code reviews, issues, etc. It's also easier to do code reviews that way (at least the initial reading).
2022-03-23rename fcuny-git to my-gitFranck Cuny1-7/+5
2022-03-22git: make flymake happyFranck Cuny1-53/+7
2022-02-03git: configure sourcegraph for robloxFranck Cuny1-3/+3
2022-02-03magit: pull the proper packageFranck Cuny1-12/+9
It looks like these packages were moved to a new one named `git-modes'.
2022-02-02git: ensure proper mode are usedFranck Cuny1-0/+4
2022-01-14emacs: simplify git/magit configurationFranck Cuny1-66/+1
I don't have to deal with magit anymore, so I can drop all the stuff that removed the VC stuff.
2021-10-27emacs: different magit setup for work/personalFranck Cuny1-40/+61
Work's monorepo is extremely large which is causing performance issues for magit. But there's magit features that I want to use when working on personal projects. Split the configuration between work/personal so that I can still use what I want when working on my projects.
2021-10-07git: remove old forge configurationFranck Cuny1-1/+0
Let's use HTTPS instead of SSH for all my projects.
2021-10-04git: configure forge properlyFranck Cuny1-1/+2
I'm going to deprecate the SSH endpoint for gitea, and use HTTPS instead for accessing the repositories. For this, I need to configure properly the credential part for the different forges (github/gitea for now), and update the URL in the forge configuration for emacs.
2021-10-03emacs: add encrypted authinfo resource fileFranck Cuny1-0/+1
Use it with the forge package.
2021-09-09emacs: use default branch for sourcegraphFranck Cuny1-2/+9
Don't use the current branch when building a link to sourcegraph, as we might be on a feature branch that is not available on the remote.
2021-08-24emacs: get rid of mapping for sourcegraphFranck Cuny1-5/+1
Since the hostname from the git remote is appended to 'sourcegraph.twitter.biz', we can get rid of the mapping and just build the URL using `format`. This simplifies even more the solution.
2021-08-24emacs: fix mapping for git-link and simplify codeFranck Cuny1-14/+5
The mapping for git.twitter.biz was incorrect. The package `git-link' has functions to take to format the URL for sourcegraph, we don't need to maintain them on our end, which simplifies a bit the code.
2021-08-23emacs: git links to sourcegraph for work repoFranck Cuny1-18/+26
This article [1] shows how to use sourcegraph with the package `git-link'. However, it requires to modify the configuration of the repository to add a new remote named 'git-link'. This is inconvenient, and this can be automated. This change adds a function to automatically generate the remote URL when the remote origin of a repo is set to twitter.biz. We also add the configuration for our own gitea instance. [1] https://sideshowcoder.com/2020/07/02/opening-sourcegraph-from-emacs/
2021-08-23emacs: use the package `forge'Franck Cuny1-0/+8
This packages help interacting with various forges. We add a new entry to the default list for our own gitea instance.
2021-08-08emacs: add function to clone a git repositoryFranck Cuny1-0/+8
2021-03-14emacs: use `magit-repos'Franck Cuny1-0/+6
The module `magit-repos' can list the status of git repositories under a given path. Since all my repositories are under `~/workspace`, it's easy to use `M-x magit-list-repositories` to get a buffer with all my repositories, and their status (are they dirty, etc).
2021-01-06emacs: performance improvement for magitFranck Cuny1-1/+42
When working with 'source', magit is extremely slow (source is a huge repository, so it's not surprising). We can improve significantly performances by disabling a number of hooks when running git status.
2021-01-04emacs: rename the directoryFranck Cuny1-0/+0
2020-07-17emacs: add git-link / support for sourcegraphFranck Cuny1-0/+31
We're moving from go/cs (twitter's own code search) to sourcegraph. I'm adding git-link and the configuration to go from emacs to our sourcegraph instance. Doing `git-link` in a file will take me to the file in sg, and doing `git-link-commit` on a commit in magit will take me to the commit in sg.
2020-04-12emacs/ui: use the default themeFranck Cuny1-3/+12
2020-03-21magit: improve performance for magit in large repoFranck Cuny1-0/+14
Opening a file in source is extremely slow, and I'm guessing it's related to git/magit, since I don't see this elsewhere. As suggested in https://magit.vc/manual/magit/Performance.html and https://magit.vc/manual/magit/Per_002dRepository-Configuration.html, I'm disabling git from VC's backend, and disable refreshing the magit buffer for source.
2020-03-19magit: clean up config by removing unused stuffFranck Cuny1-9/+4
or stuff that I don't know what they do.
2020-03-19emacs: add a few more modes for git supportFranck Cuny1-2/+7
2020-02-16magit: minor configuration updateFranck Cuny1-0/+2
2019-12-27emacs: magit buffer in full frameFranck Cuny1-2/+4
With a bigger font, on a 13" laptop, I want magit to be full frame, I don't want anything splitted. Move a couple of other settings to the `:custom` section of `use-package`.
2019-04-08[emacs] Update configuration related to git.Franck Cuny1-1/+5
2019-02-16[emacs] Split configuration in multiple files.Franck Cuny1-0/+14
This is actually an easier thing to maintain.