<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/lib, branch gitgui-0.7.4</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=gitgui-0.7.4</id>
<link rel='self' href='https://git.shady.money/git/atom?h=gitgui-0.7.4'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2007-06-27T04:27:13Z</updated>
<entry>
<title>git-gui: Don't nice git blame on MSYS as nice is not supported</title>
<updated>2007-06-27T04:27:13Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-06-27T04:27:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fffaaba3588b0da14f4e3265540d400859aad49e'/>
<id>urn:sha1:fffaaba3588b0da14f4e3265540d400859aad49e</id>
<content type='text'>
Johannes Sixt reported that MinGW/MSYS does not have a nice.exe to
drop the priority of a child process when it gets spawned.  So we
have to avoid trying to start `git blame` through nice when we are
on Windows and do not have Cygwin available to us.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Bind Tab/Shift-Tab to cycle between panes in blame</title>
<updated>2007-06-21T03:25:23Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-06-12T04:04:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fb626dc00044c106652ae39300b4cb613af70ab1'/>
<id>urn:sha1:fb626dc00044c106652ae39300b4cb613af70ab1</id>
<content type='text'>
The blame viewer is composed of two different areas, the file
area on top and the commit area on the bottom.  If users are
trying to shift the focus it is probably because they want to
shift from one area to the other, so we just setup Tab and
Shift-Tab to jump from the one half to the other in a cycle.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Save geometry before the window layout is damaged</title>
<updated>2007-06-12T03:52:43Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-06-12T03:52:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=39fa2a983d55b37759b99e67f9f1892879efb775'/>
<id>urn:sha1:39fa2a983d55b37759b99e67f9f1892879efb775</id>
<content type='text'>
Because Tk does not assure us the order that it will process
children in before it destroys the main toplevel we cannot safely
save our geometry data during a "bind . &lt;Destroy&gt;" event binding.
The geometry may have already changed as a result of a one or
more children being removed from the layout.  This was pointed
out in gitk by Mark Levedahl, and patched over there by commit
b6047c5a8166a71e01c6b63ebbb67c6894d95114.

So we now also use "wm protocol . WM_DELETE_WINDOW" to detect when
the window is closed by the user, and forward that close event to
our main do_quit routine.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;</content>
</entry>
<entry>
<title>git-gui: Include 'war on whitespace' fixes from git.git</title>
<updated>2007-06-11T23:06:10Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-06-11T23:06:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=615b865358f32537bd4a7065a042de435e9413f3'/>
<id>urn:sha1:615b865358f32537bd4a7065a042de435e9413f3</id>
<content type='text'>
Earlier git.git applied a large "war on whitespace" patch that was
created using 'apply --whitespace=strip'.  Unfortunately a few of
git-gui's own files got caught in the mix and were also cleaned up.
That was a6080a0a44d5ead84db3dabbbc80e82df838533d.

This patch is needed in git-gui.git to reapply those exact same
changes here, otherwise our version generator script is unable to
obtain our version number from git-describe when we are hosted in
the git.git repository.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Changed blame header bar background to match main window</title>
<updated>2007-06-08T06:50:07Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-06-08T06:02:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d80ded01de0189fe7179913d3ecdeecadf2052a0'/>
<id>urn:sha1:d80ded01de0189fe7179913d3ecdeecadf2052a0</id>
<content type='text'>
The main window's diff header bar background switched from orange
to gold recently, and I liked the effect it had on readability of
the text.  Since I wanted the blame viewer to match, here it is.

Though this probably should be a user defined color, or at least
a constant somewhere that everyone can reference.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Favor the original annotations over the recent ones</title>
<updated>2007-06-06T07:22:22Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-06-06T07:22:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0f32da53df706220e7392a29d8e462b57345df3d'/>
<id>urn:sha1:0f32da53df706220e7392a29d8e462b57345df3d</id>
<content type='text'>
Usually when you are looking at blame annotations for a region of
a file you are more interested in why something was originally
done then why it is here now.  This is because most of the time
when we get original annotation data we are looking at a simple
refactoring performed to better organize code, not to change its
semantic meaning or function.  Reorganizations are sometimes of
interest, but not usually.

We now show the original commit data first in the tooltip.  This
actually looks quite nice as the original commit will usually have an
author date prior to the current (aka move/copy) annotation's commit,
so the two commits will now tend to appear in chronological order.

I also found myself to always be clicking on the line of interest
in the file column but I always wanted the original tracking data
and not the move/copy data.  So I changed our default commit from
$asim_data (the simple move/copy annotation) to the more complex
$amov_data (the -M -C -C original annotation).

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Improve our labeling of blame annotation types</title>
<updated>2007-06-06T07:03:52Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-06-06T07:03:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=949da61b9b84bfb48ed2ff2dea068a1d19fb847b'/>
<id>urn:sha1:949da61b9b84bfb48ed2ff2dea068a1d19fb847b</id>
<content type='text'>
It feels wrong to call the -M -C -C annotations "move/copy tracking"
as they are actually the original locations.  So I'm relabeling
the status bar to show "copy/move tracking annotations" for the
current file (no -M -C -C) as that set of annotations tells us who
put the hunk here (who moved/copied it).  I'm now calling the -M
-C -C pass "original location annotations" as that's what we're
really digging for.

I also tried to clarify some of the text in the hover tooltip.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Use three colors for the blame viewer background</title>
<updated>2007-06-06T06:53:36Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-06-06T06:53:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5d198d676667ecd3beeac816049bfc777b9c8566'/>
<id>urn:sha1:5d198d676667ecd3beeac816049bfc777b9c8566</id>
<content type='text'>
To prevent neighboring lines that are different commits from using
the same background color we now use 3 colors and assign them
by selecting the color that is not used before or after the line
in question.  We still color "on the fly" as we receive hunks from
git-blame, but we delay our color decisions until we are getting
the original location data (the slower -M -C -C pass) as that is
usually more fine-grained than the current location data.

Credit goes to Martin Waitz for the tri-coloring concept.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Jump to original line in blame viewer</title>
<updated>2007-06-06T05:26:52Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-06-04T08:07:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0dfed77b3cc81342aee4c81e477d636a378c51cb'/>
<id>urn:sha1:0dfed77b3cc81342aee4c81e477d636a378c51cb</id>
<content type='text'>
When the user clicks on a commit link within one of the columns
in the blame viewer we now jump them not just to that commit/file
pair but also to the line of the original file.  This saves the
user a lot of time, as they don't need to search through the new
file data for the chunk they were previously looking at.

We also restore the prior view when the user clicks the back button
to return to a pior commit/file pair that they were looking at.

Turned out this was quite tricky to get working in Tk.  Every time
I tried to jump the text widgets to the correct locations by way
of the "yview moveto" or "see" subcommands Tk performed the change
until the current event finished dispatching, and then reset the
views back to 0, making the change never take place.  Forcing Tk
to run the pending events before we jump the UI resolves the issue.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Display both commits in our tooltips</title>
<updated>2007-06-06T05:26:52Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-06-02T23:03:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=383d4e0f8b72f739c16ef7d723a134d59a0a0c2f'/>
<id>urn:sha1:383d4e0f8b72f739c16ef7d723a134d59a0a0c2f</id>
<content type='text'>
If we have commit data from both the simple blame and the
rename/move tracking blame and they differ than there is a
bigger story to tell.  We now include data from both commits
so that the user can see that this link as moved, who moved
it, and where it originated from.

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