Re: Refresh index without discard_index + repo_read_index

2019-03-11 Thread Roman Perepelitsa
ase chime if if you know. Roman. On Sat, Mar 9, 2019 at 8:59 PM Roman Perepelitsa wrote: > > I’m writing a program that reads stdin in a loop and prints the > equivalent of `git status` whenever it reads a character. It always > prints its results for the same repository, the same

Refresh index without discard_index + repo_read_index

2019-03-09 Thread Roman Perepelitsa
ect when an unstaged file becomes uncommitted or the other way around. Any pointers would be greatly appreciated. Roman. P.S. I have working code that uses libgit2. Updating the index with `git_index_read(index, 0)` works as expected and is indeed faster than discarding the index and starting

Reverting merge commit

2019-02-17 Thread Roman Gelfand
Consider the following... 1. Release Branch 2. Each of the 3 developers are working on their own features. Each feature is a branch. Only one developer is working on each feature. 3. When a feature changes have been made, the feature branch is merged into the release branch. 4. After the merge i

Hotfix Branching Strategy

2019-02-11 Thread Roman Gelfand
At any one time, up to 3 developers could be developing hotfixes addressing issues.Whether it is one or multiple people working on hotfixes, we always want to produce one hotfix. Each hotfix is a cumulative update since beginning of release. Just about every hotfix requires database upgrade.

Cleaning ignored files

2016-11-09 Thread Roman Terekhov
ctory, 1 file Why git clean -dXf does not remove all my test.sln files, but just one of them? Roman Terekhov

Re: git clone --bare --origin incompatible?

2016-10-23 Thread Roman Neuhauser
# sch...@linux-m68k.org / 2016-10-23 14:29:55 +0200: > On Okt 23 2016, Roman Neuhauser wrote: > > > what is the reason clone --bare prohibits --origin? > > > > % git clone --bare -o fubar anything anywhere > > fatal: --bare and --origin fubar options are incompa

git clone --bare --origin incompatible?

2016-10-23 Thread Roman Neuhauser
hello, what is the reason clone --bare prohibits --origin? % git clone --bare -o fubar anything anywhere fatal: --bare and --origin fubar options are incompatible. -- roman

Question: Exclusions for AV-Software

2015-12-16 Thread roman
Hello Git Team, do you have any recommendations how exclusions must be set in an anti virus software what directories etc.? when AV is running the re-base is slower than it should be. Thanks for any Idea, Regards Roman -- To unsubscribe from this list: send the line "unsubscribe git&qu

Re: [bug] git-svn segmentation fault

2015-08-13 Thread Kosenko Roman
Sorry for bothering, it seems like this is not related to git, this is because of broken subversion package in this buggy archlinux. On 11 August 2015 at 12:56, Kosenko Roman wrote: > Hello, > I use git-svn. I have used it without any problem for two month. Now > git starts crashing a

[bug] git-svn segmentation fault

2015-08-11 Thread Kosenko Roman
lso my environment works fine with other repos. Is there anything else you need from me? Best regards, Roman. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: git-diff-tree --root

2014-09-13 Thread Roman Neuhauser
# gits...@pobox.com / 2014-09-12 10:31:30 -0700: > Roman Neuhauser writes: > > git-diff-tree without --root is absolutely silent for the root commit, > > and i see no bad effects of --root on non-root commits. are there any > > hidden gotchas? IOW, why is the --root beh

git-diff-tree --root

2014-09-12 Thread Roman Neuhauser
.*.sw?' > .gitignore $ git add .gitignore $ git commit -q -m init .gitignore $ git diff-tree HEAD $ git diff-tree --root HEAD [0-9a-z]{40} (re) :00 100644 [0-9a-z]{40} A\\t.* (re) [1] https://pypi.python.org/pypi/cram -- roman -- To uns

Re: [PATCH v2] git-svn: workaround for a bug in svn serf backend

2014-01-17 Thread Roman Kagan
2013/12/31 Roman Kagan : > 2013/12/30 Junio C Hamano : >> Roman Kagan writes: >>> I'd like to note that it's IMO worth including in the 'maint' branch >>> as it's a crasher. Especially so since the real fix has been merged >>> in

Re: [PATCH v2] git-svn: workaround for a bug in svn serf backend

2013-12-30 Thread Roman Kagan
2013/12/30 Junio C Hamano : > Roman Kagan writes: >> I'd like to note that it's IMO worth including in the 'maint' branch >> as it's a crasher. Especially so since the real fix has been merged >> in the subversion upstream and nominated for 1.8

Re: [PATCH] git-svn: workaround for a bug in svn serf backend

2013-12-30 Thread Roman Kagan
2013/12/30 Thomas Rast : > Roman Kagan writes: > >> + # workaround for a bug in svn serf backend (v1.8.5 and below): >> + # store 3d argument to ->add_file() in a local variable, to make it >> + # have the same lifetime as $fbat >> + my $

Re: [PATCH v2] git-svn: workaround for a bug in svn serf backend

2013-12-28 Thread Roman Kagan
nd (2013-12-27 20:22:19 >> +) >> >> ---- >> Roman Kagan (1): >> git-svn: workaround for a bug in svn serf backend >> >> perl/Git/SVN/Editor.pm | 10 -- >> 1 file changed, 8 insertions(+), 2 deletions(-) &g

[PATCH v2] git-svn: workaround for a bug in svn serf backend

2013-12-27 Thread Roman Kagan
by storing the value to be passed as the third argument to add_file() in a local variable with the same scope as the file change descriptor, making sure their lifetime is the same. Cc: Benjamin Pabst Cc: Eric Wong Cc: Jonathan Nieder Signed-off-by: Roman Kagan --- changes since v1: - fix gram

Re: [PATCH] git-svn: workaround for a bug in svn serf backend

2013-12-26 Thread Roman Kagan
2013/12/27 Roman Kagan : > 2013/12/27 Jonathan Nieder : >> Could this be reproduced with a test script to make sure we don't >> reintroduce the bug again later? (It's okay if the test only fails on >> machines with the problematic svn version.) > > That woul

Re: [PATCH] git-svn: workaround for a bug in svn serf backend

2013-12-26 Thread Roman Kagan
2013/12/27 Jonathan Nieder : > Roman Kagan wrote: > >> Subversion serf backend in versions 1.8.5 and below has a bug that the >> function creating the descriptor of a file change -- add_file() -- >> doesn't make a copy of its 3d argument when storing it on the return

[PATCH] git-svn: workaround for a bug in svn serf backend

2013-12-26 Thread Roman Kagan
d-off-by: Roman Kagan --- perl/Git/SVN/Editor.pm | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/perl/Git/SVN/Editor.pm b/perl/Git/SVN/Editor.pm index b3bcd47..ae399c3 100644 --- a/perl/Git/SVN/Editor.pm +++ b/perl/Git/SVN/Editor.pm @@ -304,8 +304,12 @@ sub C {

Re: Fwd: Error with git-svn pushing a rename

2013-12-25 Thread Roman Kagan
2013/12/25 Roman Kagan : > 2013/12/25 Roman Kagan : >> I've hit this problem too, and tracked it down to what I think is a >> bug in svn. >> [...] >> I'm going to submit a patch adding apr_pstrdup() to subversion folks. > > http://thread.gmane.org/gmane.c

Re: Fwd: Error with git-svn pushing a rename

2013-12-25 Thread Roman Kagan
2013/12/25 Roman Kagan : > I've hit this problem too, and tracked it down to what I think is a > bug in svn. > [...] > I'm going to submit a patch adding apr_pstrdup() to subversion folks. http://thread.gmane.org/gmane.comp.version-control.subversion.devel/145186 Roman.

Re: Fwd: Error with git-svn pushing a rename

2013-12-24 Thread Roman Kagan
dd_file() in a local variable, and rely on perl to keep it alive through the end of function scope, beyond the call to close_file() where it's actually used. I'm going to submit a patch adding apr_pstrdup() to subversion folks. Meanwhile if people find the above workarond a sensible thi