# improve status message

2 messages from 2016-08-29 to 2016-08-29. Participants: KES, Jakub Narębski.
Thread: https://gitlist.dev/t/43955

## KES, 2016-08-29 09:11

Subject: improve status message
Message-ID: <276561472461862@web6j.yandex.ru>
URL: https://gitlist.dev/e/276561472461862%40web6j.yandex.ru

```
Hi

When we do git pull -v --rebase

We got this:
remote: Counting objects: 7, done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 7 (delta 5), reused 0 (delta 0)
Unpacking objects: 100% (7/7), done.
From ssh://slab/alexclear/ontico
   2b541e2..2c17d76  master     -> origin/master
Changes from 2b541e2bbd23ab5c375c4ce1e0fae5255470a5e7 to 2c17d767934f7f6784d2e0411c7a3a9bfc9c4d08:
 xxxxx | 37 ++++++++++++++++++++++---------------
 1 file changed, 22 insertions(+), 15 deletions(-)
First, rewinding head to replay your work on top of it...


That will be better if this
2b541e2bbd23ab5c375c4ce1e0fae5255470a5e7 to 2c17d767934f7f6784d2e0411c7a3a9bfc9c4d08
will be replaced by this
2b541e2bbd23ab5c375c4ce1e0fae5255470a5e7..2c17d767934f7f6784d2e0411c7a3a9bfc9c4d08

This will allow us to copy/paste this string into 'diff' command
git diff 2b541e2bbd23ab5c375c4ce1e0fae5255470a5e7..2c17d767934f7f6784d2e0411c7a3a9bfc9c4d08

In compare to first version it give error:
git diff 2b541e2bbd23ab5c375c4ce1e0fae5255470a5e7 to 2c17d767934f7f6784d2e0411c7a3a9bfc9c4d08
fatal: ambiguous argument 'to': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

Thank you.

```

## Jakub Narębski, 2016-08-29 09:50

Subject: Re: improve 'git pull' status message
Message-ID: <88ad64e4-9c46-e3a9-7583-4556ae2ce1b3@gmail.com>
URL: https://gitlist.dev/e/88ad64e4-9c46-e3a9-7583-4556ae2ce1b3%40gmail.com
In-Reply-To: <276561472461862@web6j.yandex.ru>

```
W dniu 29.08.2016 o 11:11, KES pisze:
> 
> When we do git pull -v --rebase
> 
> We got this:
> remote: Counting objects: 7, done.
> remote: Compressing objects: 100% (7/7), done.
> remote: Total 7 (delta 5), reused 0 (delta 0)
> Unpacking objects: 100% (7/7), done.
> From ssh://slab/alexclear/ontico
>    2b541e2..2c17d76  master     -> origin/master
> Changes from 2b541e2bbd23ab5c375c4ce1e0fae5255470a5e7 to 2c17d767934f7f6784d2e0411c7a3a9bfc9c4d08:
>  xxxxx | 37 ++++++++++++++++++++++---------------
>  1 file changed, 22 insertions(+), 15 deletions(-)
> First, rewinding head to replay your work on top of it...
> 
> 
> That will be better if this
> 2b541e2bbd23ab5c375c4ce1e0fae5255470a5e7 to 2c17d767934f7f6784d2e0411c7a3a9bfc9c4d08
> will be replaced by this
> 2b541e2bbd23ab5c375c4ce1e0fae5255470a5e7..2c17d767934f7f6784d2e0411c7a3a9bfc9c4d08
> 
> This will allow us to copy/paste this string into 'diff' command
> git diff 2b541e2bbd23ab5c375c4ce1e0fae5255470a5e7..2c17d767934f7f6784d2e0411c7a3a9bfc9c4d08

You can copy the fetch line, "2b541e2..2c17d76", it is
the same range / set of revisions.

Shortened SHA-1 works as well as full SHA-1.

-- 
Jakub Narębski

```
