Commit graph

25 commits

Author SHA1 Message Date
AnsonH
4a0d169e90 fix: backward slash in url when using Windows 2024-02-17 13:17:33 +08:00
Bez Hermoso
8ee6a3cf3b
feat: Support alternate SSH usernames i.e. non-standard GitHub Enterprise setups 2023-10-25 23:52:12 -07:00
Julius Härtl
c473ee1e3a
fix: Check local reference of remote branch first
git ls-remote turns out to be slow, so checking for the local remote
branches first to determine if a branch exists upstream. This might not
work in all cases (e.g. if a branch was deleted remotely but no fetch
happened), but is probably good enough for most cases.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-20 11:27:12 +02:00
Masahiro Kasashima
5e742c3d7f Roughly create a commit-priority implementation 2023-06-17 20:40:36 +09:00
Masahiro Kasashima
30535d4c28 Encode uri component properly and apply it for branch name and also file path 2023-05-28 07:47:32 +09:00
Masahiro Kasashima
9437ab08c5 Added hash mark uri encoding for branch name 2023-05-25 22:12:16 +09:00
PlaiyTiziano
4b7cf31af2 Defaults to main branch if all other options aren't upstreamed 2023-04-17 23:57:06 +02:00
PlaiyTiziano
01974bb315 Get rid of camelCasing 2023-04-08 20:34:18 +02:00
Michał Kalbarczyk
40fab7f97e
Update utils.lua
Fix line number
2023-03-22 17:02:24 +01:00
Ali Almohaya
264f7897bf
chore: add testing for user commands 2022-10-30 02:03:40 +03:00
Ali Almohaya
cec20701ae
chore: run fmt, and lint 2022-10-10 01:16:44 +03:00
Sathvik Birudavolu
16dc19bd5c nit 2022-10-09 15:43:14 -04:00
Sathvik Birudavolu
99be35eef8 Fix error, support other remotes
- `table.unpack` -> `unpack`
- Add support for `http://` and `ssh://` remotes
- Gracefully handle error while parsing
2022-10-09 15:34:46 -04:00
Sathvik Birudavolu
c5c85ed23e Add GitHub Enterprise URL support 2022-10-09 13:55:11 -04:00
ec965
16fd0ed499 Fix ordering of wsl and win 2022-10-06 22:48:35 -07:00
ec965
868fdb39e9 Return true for wsl 2022-10-06 22:27:53 -07:00
ec965
2507c1e2f0 Add wsl support 2022-10-06 22:15:21 -07:00
Ali Almohaya
0c4f3bf7c0
chore: support opening files with correct fine number 2022-09-27 01:37:15 +03:00
Ali Almohaya
d03ef94579
fix: typo in get_current_branch_or_commit 2022-09-27 00:45:12 +03:00
Ali Almohaya
89d7ad4281
chore: add support when HEAD is detached 2022-09-27 00:44:01 +03:00
Ali Almohaya
b712206961
chore: implement :OpenInGHFile with its utils 2022-09-26 22:57:58 +03:00
Ali Almohaya
dba902f5cc
chore: add support for diffrent branches 2022-09-26 21:43:50 +03:00
Ali Almohaya
341f954536
fix: when the reponame has a dot in it 2022-09-26 02:12:25 +03:00
Ali Almohaya
095ff55a15
chore: implement OpenInGhRepo with utils 2022-09-26 02:09:22 +03:00
Ali Almohaya
ba9664ce7b
chore: add todos to the main files 2022-09-25 23:53:23 +03:00