Commits
- Commit:
6b6c8a7882362c36787a7522e0b0cecc463f6e3d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fundamentals for staging changes
This is an initial implementation for the stage/unstage functionalities.
They operate at a smaller scope than filesets, the work with
individual hunks.
An interactive stage hunks and a unstage-all are implemented.
- Commit:
43c93a89a7024d8b8556207cd1404c6b563249e8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
typo
- Commit:
8ed796d4347e6530a37aee28080c8c4de842c01e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
vc-got-dir-status-files: show changes in subdirs
- Commit:
7a5ead659d51fa249e2af1fcbf0ad79e969e5204
- From:
- Omar Polo <op@omarpolo.com>
- Date:
vc-got-repository-url: avoid infinite loops in parsing
add a missing forward-line and make sure we don't try to go past the
end of the file (another thing that may cause an infinite loop).
- Commit:
f8a9db5613417ffb30e54495f6a83c2f8a64dfe2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix vc-got-repository-url for checkout of non-bare repos
before I assumed got could checkout only from bare repos, but it turns
out this isn't the case. This fixes it, making vc-got-repository-url
more robust. It first try to use .git/config if it exists, if it
doesn't but there is a .git directory, don't do anything; finally try
to parse config (assuming this is a bare repo).
- Commit:
3d2d3c391f98896699fc27185f56982429b08a7b
- From:
- Timo Myyrä <timo.myyra@bittivirhe.fi>
- Via:
- omar-polo <47739920+omar-polo@users.noreply.github.com>
- Date:
drop vc-got-unregister, not used
there doesn't seem a need for vc-got-unregister so drop it for now.
I Originally thought this was needed to unregister added files but that
is accomplished by revert.
- Commit:
3cdb0759b5b41b166c618e8366016b8a33face08
- From:
- Timo Myyrä <timo.myyra@bittivirhe.fi>
- Via:
- omar-polo <47739920+omar-polo@users.noreply.github.com>
- Date:
update status list a bit
- Commit:
ddc59a024c62d068bb1b71292f0ea0c74497cb17
- From:
- Timo Myyrä <timo.myyra@bittivirhe.fi>
- Via:
- omar-polo <47739920+omar-polo@users.noreply.github.com>
- Date:
remove extra parens from vc-got-unregister and fix pcase matchall
- Commit:
a96df0e8b9c0b1f0170a9d1f4a3a17c35d0d0529
- From:
- Timo Myyrä <timo.myyra@bittivirhe.fi>
- Via:
- GitHub <noreply@github.com>
- Date:
provide unregister and delete-file commands (#7)
* provide unregister and delete-file commands
* re-order functions
* avoid error 'vc-dir is read-only' on file deletion
* use temp buffer around got rm call, we don't need the output
- Commit:
c27df03ea824ff238691d3e4c20f662611e3fe10
- From:
- Omar Polo <op@omarpolo.com>
- Date:
print more info in vc-got-dir-extra-headers
added repository path and remote url to vc-got-dir-extra-headers
- Commit:
8b635a9f0f8c22640d8e129df31a514deace0679
- From:
- Omar Polo <op@omarpolo.com>
- Date:
implement repository-url
- Commit:
7bb16f79d9239b75da67f85f08d4a6586d7ecb14
- From:
- Omar Polo <op@omarpolo.com>
- Date:
implement conflicted-files
- Commit:
fab791a23c58d981375f0c0aad775fdf75b00a7c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
vc-got--call flatten and filter arg list
it's handy to pass to vc-got--call lists like '("-l" 2) or nil values
(maybe from (when reverse "-R")). This moves some filtering logic
from vc-got--log to vc-got--call.
- Commit:
3f25d9ffc6f214200f4e66c4d362bad00c109ca6
- From:
- Timo Myyrä <timo.myyra@bittivirhe.fi>
- Via:
- GitHub <noreply@github.com>
- Date:
add vc-got-annotate (#4)
* add vc-got-annotate-{command,time,extract-revision-at-line}
this makes vc-annotate command basic functionality working, needs
next/prev-revision support to see diffs.
* add vc-got-{previous,next}-revision defuns
roughy working but might need a bit more testing.
* add vc-got-annotate-re helper
* use vc-got--log in prev/next-revision functions
no need to reinvent the wheel, use the existing vc-got--log to get the
log info.
* fix vc-got-previous-revision
vc-got--log leaves point at the end of buffer so move point to the
beginning before running keep-lines so it has chance at working.
* fixes for vc-got-next-revision
set rstart/end to keep-lines so it works on whole buffer and don't use
previous-line as its not intended for elisp code. Also fix the first
match regexp to allow branch names after commit sha-1 values.
* prefer with-current-buffer
* require vc-annotate
* rename vc-got-annotate-re to vc-got--annotate-re
this is for internal use so name it so. While here add doc string for it.
* Make annotation buffers parent managed by got
vc-ensure-vc-buffer won't recognise this buffer as managed by got unless
vc-parent-buffer points to a buffer managed by got.
* refactor vc-got-next-revision
no need for extensive checks in function, got command won't return
successfully unless it finds the wanted revision so are certain the rev
is found, we only need to check if it has a parent.
while here, replace the multiple commit regexp with internal
vc-got--commit-re.
- Commit:
82289421895601458f16fa160107b9154be83342
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix vc-got-dir-status-files
now it works correctly even when an untracked files gets deleted.