Nicolas Pitre ebe8fa738d fix display overlap between remote and local progress
It is possible for the remote summary line to be displayed over the
local progress display line, and therefore that local progress gets
bumped to the next line.  However, if the progress line is long enough,
it might not be entirely overwritten by the remote summary line.  This
creates a messed up display such as:

	remote: Total 310 (delta 160), reused 178 (delta 112)iB/s
	Receiving objects: 100% (310/310), 379.98 KiB | 136 KiB/s, done.

So we have to clear the screen line before displaying the remote message
to make sure the local progress is not visible anymore on the first
line.

Yet some Git versions on the remote side might be sending updates to the
same line and terminate it with \r, and a separate packet with a single
\n might be sent later when the progress display is done.  This means
the screen line must *not* be cleared in that case.

Since the sideband code already has to figure out line breaks in the
received packet to properly prepend the "remote:" prefix, we can easily
determine if the remote line about to be displayed is empty.  Only when
it is not then a proper suffix is inserted before the \r or \n to clear
the end of the screen line.

Also some magic constants related to the prefix length have been
replaced with a variable, making it similar to the suffix length
handling.  Since gcc is smart enough to detect that the variable is
constant there is no impact on the generated code.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2007-11-04 01:56:53 -07:00
2007-06-07 00:04:01 -07:00
2007-06-07 00:04:01 -07:00
2007-06-07 00:04:01 -07:00
2007-11-04 01:28:46 -07:00
2007-11-02 16:42:23 -07:00
2007-10-19 01:18:55 -04:00
2007-05-30 15:03:50 -07:00
2007-11-02 16:42:23 -07:00
2007-06-07 00:04:01 -07:00
2007-11-01 13:47:47 -07:00
2007-11-03 23:50:54 -07:00
2007-06-07 00:04:01 -07:00
2007-11-04 01:06:48 -07:00
2007-11-02 01:31:06 -07:00
2007-09-19 03:22:30 -07:00
2007-10-03 03:06:02 -07:00
2007-11-04 01:11:17 -07:00
2007-03-20 22:17:47 -07:00
2007-09-26 02:27:06 -07:00
2007-09-26 02:27:06 -07:00
2007-08-10 23:17:46 -07:00
2007-06-07 00:04:01 -07:00
2007-06-07 00:04:01 -07:00
2007-10-30 16:08:40 -07:00
2007-10-30 16:08:40 -07:00
2007-06-07 00:04:01 -07:00
2007-11-01 13:47:47 -07:00
2007-08-14 22:34:58 -07:00
2007-06-07 00:04:01 -07:00
2007-10-29 17:03:11 -07:00
2007-10-29 17:03:11 -07:00
2007-08-10 23:17:46 -07:00
2007-06-13 02:02:10 -07:00
2007-10-18 03:45:05 -04:00
2007-10-03 03:05:32 -07:00
2007-10-16 23:32:03 -04:00
2007-10-03 03:05:58 -07:00
2007-10-26 23:17:23 -07:00
2007-10-31 12:20:05 -07:00
2006-09-27 23:59:09 -07:00
2007-09-19 03:22:30 -07:00
2007-08-13 23:34:38 -07:00
2007-11-04 01:11:17 -07:00
2007-10-02 17:35:29 -07:00
2007-10-03 04:28:24 -07:00
2007-05-21 23:34:54 -07:00
2007-10-26 23:27:23 -07:00
2007-06-07 00:04:01 -07:00
2007-11-02 16:42:23 -07:00
2007-06-07 00:04:01 -07:00
2007-06-07 00:04:01 -07:00
2007-06-07 00:04:01 -07:00
2007-06-07 00:04:01 -07:00
2007-11-02 16:27:37 -07:00
2007-11-02 16:27:37 -07:00
2007-06-07 00:04:01 -07:00
2007-06-07 00:04:01 -07:00
2007-10-30 16:08:40 -07:00
2007-07-02 17:12:48 -07:00
2007-10-18 03:11:17 -04:00
2007-10-24 21:59:50 -07:00
2007-09-05 11:29:33 -07:00
2007-10-15 22:31:47 -04:00
2007-07-11 13:52:16 -07:00
2007-10-29 12:53:54 -07:00
2007-06-07 00:04:01 -07:00
2007-09-18 17:42:17 -07:00
2007-05-01 02:59:08 -07:00
2007-10-21 01:59:42 -04:00
2007-06-07 00:04:01 -07:00
2007-06-22 23:19:43 -07:00
2007-08-10 11:44:23 -07:00
2007-10-30 16:08:40 -07:00
2007-05-07 22:02:40 -07:00
2007-06-07 00:04:01 -07:00
2007-09-19 03:22:30 -07:00

////////////////////////////////////////////////////////////////

	GIT - the stupid content tracker

////////////////////////////////////////////////////////////////

"git" can mean anything, depending on your mood.

 - random three-letter combination that is pronounceable, and not
   actually used by any common UNIX command.  The fact that it is a
   mispronunciation of "get" may or may not be relevant.
 - stupid. contemptible and despicable. simple. Take your pick from the
   dictionary of slang.
 - "global information tracker": you're in a good mood, and it actually
   works for you. Angels sing, and a light suddenly fills the room.
 - "goddamn idiotic truckload of sh*t": when it breaks

Git is a fast, scalable, distributed revision control system with an
unusually rich command set that provides both high-level operations
and full access to internals.

Git is an Open Source project covered by the GNU General Public License.
It was originally written by Linus Torvalds with help of a group of
hackers around the net. It is currently maintained by Junio C Hamano.

Please read the file INSTALL for installation instructions.
See Documentation/tutorial.txt to get started, then see
Documentation/everyday.txt for a useful minimum set of commands,
and "man git-commandname" for documentation of each command.
CVS users may also want to read Documentation/cvs-migration.txt.

Many Git online resources are accessible from http://git.or.cz/
including full documentation and Git related tools.

The user discussion and development of Git take place on the Git
mailing list -- everyone is welcome to post bug reports, feature
requests, comments and patches to git@vger.kernel.org. To subscribe
to the list, send an email with just "subscribe git" in the body to
majordomo@vger.kernel.org. The mailing list archives are available at
http://marc.theaimsgroup.com/?l=git and other archival sites.

The messages titled "A note from the maintainer", "What's in
git.git (stable)" and "What's cooking in git.git (topics)" and
the discussion following them on the mailing list give a good
reference for project status, development direction and
remaining tasks.
Description
No description provided
Readme 235 MiB
Languages
C 50.1%
Shell 38.4%
Perl 5.1%
Tcl 3.3%
Python 0.8%
Other 2%