Re: [Savannah-users] Anonymous commit (empty Author and Committer)

2015-11-02 Thread Kaz Kylheku

On 02.11.2015 07:11, Lennart Sorensen wrote:

On Sat, Oct 31, 2015 at 08:24:06AM +0300, Andrei Borzenkov wrote:
If we decide to fix this commit it is better done now, while it is the 
last

one. It is annoying but do you have suggestion how it can be done
differently?


Well the only options are:

1) Leave it alone
2) Break the tree of anyone that already pulled.  (Posting instructions 
on

how to fix it would at least be nice then).

Not sure how many people regularly pull the tree.


This is silly FUD. There is no ever any "broken tree".

Firstly, people who have no local changes do not experience any ill 
effect.

They just have to do

  $ git fetch

  # oops, upstream and local branch have diverged
  # but I have absolutely no local work to preserve;
  # just "warp" HEAD to the new one:

  $ git reset --hard origin/master

  # done!

Those who have outstanding local work never have any expectation of 
non-breakage!

*All* fetches are "non-fast-forward" with regard to unpublished
local work, because they occur to a prior version of the work, 
underneath your

changes.

In *all* cases you can do this:

  # Fast-forward or not, I don't care!
  $ git fetch

  # Take my 13 unpublished commits (or whatever number), rebase them 
over the

  # latest upstream master, and make the result my local master branch:

  $ git rebase HEAD~13 --onto origin/master



--
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: [Savannah-users] Anonymous commit (empty Author and Committer)

2015-10-30 Thread Kaz Kylheku

On 30.10.2015 13:59, Lennart Sorensen wrote:

I don't have non-fast-forward rights. Does someone from savannah-users
have them? Could he just delete this commit?


If you do that, then anyone that already did a pull after it went in
will have a broken tree.  Rather annoying.


Nope. They will have a git in which that commit looks like their own
local work. *Someone* will inadvertently do a "git push" to blast out
their changes based on that deleted commit, thereby causing it to
reappear.

:)
--
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