Re: merge command - GSoC progress

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: merge command - GSoC progress
Дата
Msg-id 201008041502.43810.andres@anarazel.de
обсуждение исходный текст
Ответ на Re: merge command - GSoC progress  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Список pgsql-hackers
On Wednesday 04 August 2010 14:09:51 Heikki Linnakangas wrote:
> Yep. I believe Boxuan is using git in a simplistic way, doing just "git 
> diff" to create patches. For adding new files, you need to do "git add 
> <filename>", but note that this adds the new file to "staging area". To 
> view all changes in the staging area, use "git diff --cached", but that 
> won't show any modifications to existing files that you haven't also 
> "git add"ed. So to generate a patch you need to "git add" all modified 
> and added files ("git add -u" will add all modified files 
> automatically), and then use "git diff --cached" to generate the diff.
Or use git add --intent--to-add (or -N). That adds the file but not the actual 
changes.

Andres


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Review of Synchronous Replication patches
Следующее
От: Dean Rasheed
Дата:
Сообщение: Re: Proposal / proof of concept: Triggers on VIEWs