Thread (6 messages) flat view 6 messages, 3 authors, 2016-06-15

Re: [RFC/PATCH 2/2] doc: command line interface (cli) dot-repository dwimmery

From: Felipe Contreras <hidden>
Date: 2016-06-15 22:57:24

On Wed, May 22, 2013 at 5:09 PM, Philip Oakley [off-list ref] wrote:
From: "Felipe Contreras" <redacted>
Sent: Wednesday, May 22, 2013 12:03 AM
quoted
quoted
The value of the trick was acknowledged as now being in use
http://article.gmane.org/gmane.comp.version-control.git/223572

How is that more useful than 'git branch -f master $sha1'?

The 'trick' checks for a fast forward, while the branch update is forced. It
depends on what checks are desired.
If that was truly useful, surely we could add an option for 'git
branch' to do just that.
My original patch was to simply document Git's dot repository capability
that does not appear to be that well known. Let's not keep it as an Easter
Egg.
I know, all I said is that I think nobody cares about that
implementation detail. Instead of explaining to the user why Git has
so many quirks, we should get rid of them and make it work more in
line with users' expectations.

-- 
Felipe Contreras
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help