<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/lib, branch gitgui-0.8.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=gitgui-0.8.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=gitgui-0.8.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2007-08-20T06:17:05Z</updated>
<entry>
<title>git-gui: Allow git-merge to use branch names in conflict markers</title>
<updated>2007-08-20T06:17:05Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-08-20T06:17:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=18a01a0da428c9e1034247e2b40c62e506b73580'/>
<id>urn:sha1:18a01a0da428c9e1034247e2b40c62e506b73580</id>
<content type='text'>
Earlier when I rewrote the merge implementation for git-gui I broke
it such that the conflict markers for the "theirs" side of the hunk
was using a full SHA-1 ID in hex, rather than the name of the branch
the user had merged.  This was because I got paranoid and passed off
the full SHA-1 to git-merge, instead of giving it the reference name
the user saw in the merge dialog.

I'd still like to resolve the SHA-1 upfront in git-gui and always use
that value throughout the merge, but I can't do that until we have a
full implementation of git-merge written in Tcl.  Until then its more
important that the conflict markers be useful to the end-user, so we
need to pass off the ref name and not the SHA-1 ID.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;</content>
</entry>
<entry>
<title>git-gui: Fix window manager problems on ion3</title>
<updated>2007-08-20T04:38:13Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-08-20T04:53:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c6951ddb522a7d8ee0fc371cf9c37e727e676989'/>
<id>urn:sha1:c6951ddb522a7d8ee0fc371cf9c37e727e676989</id>
<content type='text'>
cehteh on #git noticed that secondary windows such as console
windows from push/fetch/merge or the blame browser failed on ion
when we tried to open them a second time.

The issue turned out to be the fact that on ion [winfo ismapped .]
returns false if . is not visible right now because it has been
obscured by another window in the same panel.  So we need to keep
track of whether or not the root window has been displayed for this
application, and once it has been we cannot ever assume that ismapped
is going to return true.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Minor refactoring of merge command line in merge support</title>
<updated>2007-07-30T03:44:52Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-07-30T00:21:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=84f67537b13bf0a959b1cad50b0d490071dc921a'/>
<id>urn:sha1:84f67537b13bf0a959b1cad50b0d490071dc921a</id>
<content type='text'>
This is just a small code movement to cleanup how we generate
the command line for a merge.  I'm only doing it to make the
next series of changes slightly more readable.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Use more modern looking icons in the tree browser</title>
<updated>2007-07-30T03:44:52Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-07-30T01:19:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=dac70892638d08f50c49c539155c4cb54a9b9c28'/>
<id>urn:sha1:dac70892638d08f50c49c539155c4cb54a9b9c28</id>
<content type='text'>
This is a replacement of all of the icons in our tree browser
window, as the prior icons just looked too 1980s Tk-ish.  The
icons used here are actually from a KDE themed look, so they
might actually be familiar to some users of git-gui.

Aside from using more modern looking icons we now have a special
icon for executable blobs, to make them stand out from the normal
non-executable blobs.  We also denote symlinks now with a different
icon, so they stand out from the other types of objects in the tree.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Make sure remotes are loaded when picking revisions</title>
<updated>2007-07-30T03:44:51Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-07-30T01:26:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=95af4d8de16e8e681c196fce6d42e40909933115'/>
<id>urn:sha1:95af4d8de16e8e681c196fce6d42e40909933115</id>
<content type='text'>
If we are started for only a blame/browser/citool run we don't
usually initialize the list of remotes, or determine which refs
are tracking branches and which are local branch heads.  This is
because some of that work is relatively expensive and is usually
not going to be needed if we are started only for a blame, or to
make a single commit.

However by not loading the remote configuration we were crashing
if the user tried to open a browser for another branch through
the Repository menu, as our load_all_heads procedure was unable
to decide which refs/heads/ items were actually local heads.  We
now force all remote configuration data to be loaded if we have
not done so already and we are trying to create a revision mega
widget.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Use progress bar while resetting/aborting files</title>
<updated>2007-07-29T08:07:13Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-07-29T08:06:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0fe055cd2480763393b20676a10fd0bea56b2fc2'/>
<id>urn:sha1:0fe055cd2480763393b20676a10fd0bea56b2fc2</id>
<content type='text'>
Resetting a large number of files on a slow filesystem can take
considerable time, just as switching branches in such a case can
take more than two seconds.  We now take advantage of the progress
meter output by read-tree and show it in the main window status
bar, just like we do during checkout (branch switch).

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Unify wording to say "to stage" instead of "to add"</title>
<updated>2007-07-29T07:09:07Z</updated>
<author>
<name>Christian Stimming</name>
<email>stimming@tuhh.de</email>
</author>
<published>2007-07-28T20:17:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=360cc106e76ea2a4ba424905c4924e9ed6a4165d'/>
<id>urn:sha1:360cc106e76ea2a4ba424905c4924e9ed6a4165d</id>
<content type='text'>
Also, the warning message when clicking "Reset" is adapted to
the wording "Reset" rather than a confusion "Cancel commit?".

Signed-off-by: Christian Stimming &lt;stimming@tuhh.de&gt;
Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Remove usernames from absolute SSH urls during merging</title>
<updated>2007-07-25T09:02:38Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-07-25T09:02:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bc318ea86d3ecd4074ecde3122b1e65f84cf9996'/>
<id>urn:sha1:bc318ea86d3ecd4074ecde3122b1e65f84cf9996</id>
<content type='text'>
If we are being asked to merge a tracking branch that comes from a
remote repository accessed by the very common SSH URL format of
"user@host:/path/to/repo" then we really don't need the username
as part of the merge message, it only clutters up the history and
makes things more confusing.  So we instead clip the username part
off if the local filesystem path is absolute, as its probably not
going to be an ambiguous URL even when it is missing the username.

On the other hand we cannot clip the username off if the URL is
not absolute, because in such cases (e.g. "user@host:myrepo") the
directory that the repository path is resolved in is relative to
the user's home directory, and the username becomes important.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;</content>
</entry>
<entry>
<title>git-gui: Format tracking branch merges as though they were pulls</title>
<updated>2007-07-25T08:54:53Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-07-25T08:54:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ead49f5a4f6c87e5dc61ed5daaeda1bae7644d05'/>
<id>urn:sha1:ead49f5a4f6c87e5dc61ed5daaeda1bae7644d05</id>
<content type='text'>
If we are merging a tracking branch we know exactly what remote URL
that branch is fetched from, and what its name is on that remote
repository.  In this case we can setup a merge message that looks
just like a standard `git-pull $remote $branch` operation by filling
out FETCH_HEAD before we start git-merge, and then run git-merge just
like git-pull does.

I think the result of this behavior is that merges look a lot nicer
when the came off of local tracking branches, because they no longer
say "commit 'origin/...'" to describe the commit being merged but
instead now mention the specific repository we fetched those commits
from.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;</content>
</entry>
<entry>
<title>git-gui: Cleanup bindings within merge dialog</title>
<updated>2007-07-25T08:32:18Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-07-25T08:32:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9feefbd2d285f9af629cff9075eff06cf33d9de9'/>
<id>urn:sha1:9feefbd2d285f9af629cff9075eff06cf33d9de9</id>
<content type='text'>
Misc. code cleanups in the merge dialog's binding setup and action
button creation.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;</content>
</entry>
</feed>
