in the
following commits.
Signed-off-by: Pratik Karki
---
.gitignore| 1 +
Makefile | 1 +
git-legacy-rebase.sh | 62 +--
git-rebase--common.sh | 61 ++
4 files changed, 64 insertions(+), 61
()` which would be visible by spawned
process from rebase backends as this is not safe.
Pratik Karki (4):
rebase: start implementing it as a builtin
rebase: refactor common shell functions into their own file
sequencer: refactor the code to detach HEAD to checkout.c
builtin/rebase: support
checkout.c introduced by a previous
commit to perform initial checkout.
Signed-off-by: Pratik Karki
---
builtin/rebase.c | 229 ++-
1 file changed, 228 insertions(+), 1 deletion(-)
diff --git a/builtin/rebase.c b/builtin/rebase.c
index c0c9d6cd2
in
`builtin/rebase: support running "git-rebase ".
Pratik Karki (4):
rebase: start implementing it as a builtin
rebase: refactor common shell functions into their own file
sequencer: refactor the code to detach HEAD to checkout.c
builtin/rebase: support running &
.
Signed-off-by: Pratik Karki
---
checkout.c | 64 +
checkout.h | 3 +++
sequencer.c | 58 +---
3 files changed, 72 insertions(+), 53 deletions(-)
diff --git a/checkout.c b/checkout.c
index
functions
*directly* from C, bypassing `git-rebase.sh`. Therefore those functions
need to live in a separate file: we need to be able to call
`. git-rebase--common` in that script snippet so that those functions
are defined.
Signed-off-by: Pratik Karki
---
.gitignore| 1 +
Makefile
-c rebase.useBuiltin=true rebase ...`
Signed-off-by: Pratik Karki
---
.gitignore| 1 +
Makefile | 3 +-
builtin.h | 1 +
builtin/rebase.c | 55 +++
git-rebase.sh
Hi,
This is a patch I keep in wip-rebase branch[1][2].
It shouldn't be applied to `pu`.
This main objective of this file in the branch is to keep track of
the converted shell scripts of `git-rebase.sh` and plan on the
conversion of other remaining parts.
[1]:
.
Signed-off-by: Pratik Karki
---
checkout.c | 64 +
checkout.h | 3 +++
sequencer.c | 58 +---
3 files changed, 72 insertions(+), 53 deletions(-)
diff --git a/checkout.c b/checkout.c
index
-c rebase.useBuiltin=true rebase ...`
Signed-off-by: Pratik Karki
---
.gitignore| 1 +
Makefile | 3 +-
builtin.h | 1 +
builtin/rebase.c | 55 +++
git-rebase.sh
This is a verbatim copy of `git-rebase.sh`. This acts as a tracker
for components to be converted and to find the progress of current
conversion of `git-rebase.sh` to `builtin/rebase.c`. The commented
parts denote the converted parts.
Signed-off-by: Pratik Karki
---
TODO-rebase.sh | 738
functions
*directly* from C, bypassing `git-rebase.sh`. Therefore those functions
need to live in a separate file: we need to be able to call
`.git-rebase--common` in that script snippet so that those functions
are defined.
Signed-off-by: Pratik Karki
---
.gitignore| 1 +
Makefile
by a previous
commit to perform initial checkout.
Signed-off-by: Pratik Karki
---
builtin/rebase.c | 231 ++-
1 file changed, 229 insertions(+), 2 deletions(-)
diff --git a/builtin/rebase.c b/builtin/rebase.c
index 1152b7229..2f90389c2 100644
a minimal builtin rebase
which supports running `git rebase ` and also serves to ask for
reviews.
Pratik Karki (5):
Start TODO-rebase.sh
rebase: start implementing it as a builtin
rebase: refactor common shell functions into their own file
sequencer: refactor the code to detach HEAD to checkout.c
Hi,
On Tue, Jun 26, 2018 at 3:00 AM Johannes Schindelin
wrote:
> Pratik refactored some code from sequencer.c into checkout.c/checkout.h
> today to do exactly that. It is not polished yet, but probably will be
> tomorrow. It provides a function `int detach_head_to(struct object_oid
> *oid,
On Tue, Jun 19, 2018 at 12:33 AM, Paul-Sebastian Ungureanu
wrote:
> Hello!
>
>
> On 18.06.2018 20:34, Alban Gruin wrote:
>>
>> Hi,
>>
>> I published a new blog post here:
>>
>>https://blog.pa1ch.fr/posts/2018/06/18/en/gsoc2018-week-7.html
>>
>> It’s shorter than the last one, but feel free to
Hi,
My blog post is also up.
https://prertik.github.io/post/week-06
And nice blog post, Alban. :-)
Cheers,
Pratik
On Thu, May 10, 2018 at 11:35 PM, Stefan Beller <sbel...@google.com> wrote:
> Hi Pratik,
Hi Stefan,
> On Wed, May 9, 2018 at 8:07 PM, Pratik Karki <predatoram...@gmail.com> wrote:
>> Hi,
>>
>> The week 02 blog post[1] is live. This post is part I out of II
://prertik.github.io/categories/git/
Cheers,
Pratik Karki
On Tue, May 8, 2018 at 12:20 AM, Stefan Beller <sbel...@google.com> wrote:
> Hi Pratik,
Hi Stefan,
> On Sat, May 5, 2018 at 5:24 AM, Pratik Karki <predatoram...@gmail.com> wrote:
>> On Sat, May 5, 2018 at 5:11 PM, Alban Gruin <alban.gr...@gmail.com> wrote:
>>
ly if needed.
>
> Any feedback is welcome!
>
> [1] https://blog.pa1ch.fr/posts/2018/05/05/en/gsoc2018-week-1.html
>
> Cheers,
> Alban Gruin
Nice post. Great job, Alban.
Just a little typo I found out there: hazardous -> hasardous.
Cheers,
Pratik Karki
On Thu, May 3, 2018 at 6:31 AM, Andrew Ardill <andrew.ard...@gmail.com> wrote:
> On 2 May 2018 at 17:12, Johannes Schindelin <johannes.schinde...@gmx.de>
> wrote:
>> Hi Pratik,
>>
>> On Wed, 2 May 2018, Pratik Karki wrote:
>>
>>> As promised in m
://prertik.github.io/categories/git/
Cheers,
Pratik Karki
mentored by DScho, wants to convert git-stash
> into a builtin.
>
> Alban Gruin and Pratik Karki want to convert parts of git-rebase into
> a builtin. Both are mentored by Christian and myself.
>
> The slots were just announced today, please join me in welcoming them
> to the Git
ile and apply the downstream command(s) to that file.
Signed-off-by: Pratik Karki <predatoram...@gmail.com>
---
t/t5300-pack-object.sh | 8 ++---
t/t5510-fetch.sh | 8 ++---
t/t7001-mv.sh | 22 ++---
t/t70
previous
proposal[1] and make it more worthy. Can you review it and explain
what I might be lacking there? Thank you for your time.
[1]:
https://public-inbox.org/git/20180321061605.27814-1-predatoram...@gmail.com/
Cheers,
Pratik Karki
n my proposal.
[1]:
https://public-inbox.org/git/20180321061605.27814-1-predatoram...@gmail.com/
Cheers,
Pratik Karki
wed, thus potentially
hiding failure of those commands. Instead, capture Git command
output to a file and apply the downstream command(s) to that file.
Signed-off-by: Pratik Karki <predatoram...@gmail.com>
---
t/t5300-pack-object.sh | 8 ++---
t/t5510
[2]: https://github.com/git/git/blob/master/Documentation/SubmittingPatches
- >8
Avoid using pipes downstream of Git commands since the exit
codes of commands upstream of pipes get swallowed, thus potentially hiding
failu
with git-stash. Thank you for directing
me to the un-merged matches. Now, I can find the points where the
patch couldn't be effective and work towards completing those
effective things.
Please provide feedback for this updated proposal.
Cheers,
Pratik Karki
Convert Scripts to builtins
Hi,
This is my draft for my proposal on "Convert Scripts to builtins" for GSoC.
Please review and provide feedback.
Cheers,
Pratik Karki
Convert Scripts to builtins
===
Abstract
Many components of Git are still in the form of shell and Perl scripts
Hi,
This is my draft for my proposal on "Convert Scripts to builtin" for GSoC.
Please review and provide feedbacks.
https://gist.github.com/prertik/daaa73a39d3ce30811d9a208043dc235
Cheers,
Pratik Karki
up with my university stuffs.
Please do review this patch as before. I will correct it if needed.
Cheers,
Pratik Karki
Avoid using pipes downstream of Git commands since the exit codes
of commands upstream of pipes get swallowed, thus potentially
hiding failure of those commands. Instead, capture G
by pipe.
Signed-off-by: Pratik Karki <predatoram...@gmail.com>
---
t/t7001-mv.sh| 24
t/t9104-git-svn-follow-parent.sh | 4 ++--
t/t9110-git-svn-use-svm-props.sh | 36 ++--
t/t9111-git-svn-use-svnsync-props.s
101 - 134 of 134 matches
Mail list logo