рассылка русскоязычной группы пользователей и разработчиков KDE
 help / color / mirror / Atom feed
From: Mikhail Novosyolov <m.novosyolov@rosalinux.ru>
To: kde-russian@lists.kde.ru
Subject: Re: [kde-russian] lokalize
Date: Sun, 13 Jan 2019 21:41:08 +0300
Message-ID: <49e69d78-5fe5-787b-0237-1bc4fce16902@rosalinux.ru> (raw)
In-Reply-To: <1947801547390842@sas1-a3690af4eda2.qloud-c.yandex.net>

13.01.2019 17:47, Виктор пишет:
> Но как теперь посмотреть на гит https://cgit.kde.org/lokalize.git/
> в коммит «5a0e71d723b9825f33c2dc969caac4a85f8c80b5».
> Да и вообще, не представляю, что с этим делать.
> Да и тема совсем не для этой рассылки.
Показать diff конкретного коммита (первый хеш - коммит с какого начинать 
дифф, второй хеш - хеш коммита, которым заканчивать diff, 2 одинаковых 
кеша означает показать diff именно этого коммита)
git diff 5a0e71d723b9825f33c2dc969caac4a85f8c80b5~ 
5a0e71d723b9825f33c2dc969caac4a85f8c80b5

Сформировать файл-патч из коммита:
git format-patch 5a0e71d723b9825f33c2dc969caac4a85f8c80b5~1

git log - история коммитов

В веб-интерфейсе git-web смотреть commitdiff: 
https://cgit.kde.org/lokalize.git/diff/?id=5a0e71d723b9825f33c2dc969caac4a85f8c80b5&id2=5a7c0010715c3fa65184dd35af867657147a9812 
, или файлом-патчем: 
https://cgit.kde.org/lokalize.git/patch/?id=5a0e71d723b9825f33c2dc969caac4a85f8c80b5 


Можно wget 
"https://cgit.kde.org/lokalize.git/patch/?id=5a0e71d723b9825f33c2dc969caac4a85f8c80b" 
-O file.patch
и открыть его в текстовом редакторе с подсветкой синтаксиса.

Откатить конкретный коммит при сборке RPM:
Patch0: file.patch
%patch0 -p1 -R
-R означает применение патча наборот.



      parent reply	other threads:[~2019-01-13 18:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-13 13:18     ` Alexander Potashev
2019-01-13 14:02         ` Alexander Potashev
2019-01-13 15:34             ` Alexander Potashev
2019-01-13 15:47                 ` Alexander Potashev
2019-01-14 14:35                           ` Alexander Potashev
2019-10-07  8:48                               ` Alexander Potashev
2019-01-13 18:41             ` Mikhail Novosyolov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49e69d78-5fe5-787b-0237-1bc4fce16902@rosalinux.ru \
    --to=m.novosyolov@rosalinux.ru \
    --cc=kde-russian@lists.kde.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

рассылка русскоязычной группы пользователей и разработчиков KDE

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/kde-russian/0 kde-russian/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kde-russian kde-russian/ http://lore.altlinux.org/kde-russian \
		kde-russian@lists.kde.ru
	public-inbox-index kde-russian

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.kde-russian


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git