The patch extends git config --file interface to allow read config from
stdin.
Signed-off-by: Kirill A. Shutemov kir...@shutemov.name
---
config.c | 10 ++
t/t1300-repo-config.sh | 4
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/config.c b/config.c
On Fri, Feb 14, 2014 at 10:27:11AM -0800, Junio C Hamano wrote:
Kirill A. Shutemov kir...@shutemov.name writes:
The patch extends git config --file interface to allow read config from
stdin.
Thanks. The external interface proposed by this change that behaves
the way your new test
The patch extends git config --file interface to allow read config from
stdin.
Editing stdin or setting value in stdin is an error.
Include by absolute path is allowed in stdin config, but not by relative
path.
Signed-off-by: Kirill A. Shutemov kir...@shutemov.name
---
builtin/config.c
The function will be reused to check for other conditions which prevent
write.
Signed-off-by: Kirill A. Shutemov kir...@shutemov.name
---
builtin/config.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/builtin/config.c b/builtin/config.c
index 92ebf23f0a9a
We're going to have more options for config source.
Let's alter git_config_with_options() interface to accept struct with
all source options.
Signed-off-by: Kirill A. Shutemov kir...@shutemov.name
---
builtin/config.c | 75 ++--
cache.h
The patch extends git config --file interface to allow read config from
stdin.
Editing stdin or setting value in stdin is an error.
Include by absolute path is allowed in stdin config, but not by relative
path.
Signed-off-by: Kirill A. Shutemov kir...@shutemov.name
---
builtin/config.c
The patch extends git config --file interface to allow read config from
stdin.
Editing stdin or setting value in stdin is an error.
Include by absolute path is allowed in stdin config, but not by relative
path.
Signed-off-by: Kirill A. Shutemov kir...@shutemov.name
---
builtin/config.c
The function will be reused to check for other conditions which prevent
write.
Signed-off-by: Kirill A. Shutemov kir...@shutemov.name
---
builtin/config.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/builtin/config.c b/builtin/config.c
index 92ebf23f0a9a
.
Let's split that into name and path fields, use the
latter for relative includes, and fill in only the former
for blobs.
Signed-off-by: Jeff King p...@peff.net
Signed-off-by: Kirill A. Shutemov kir...@shutemov.name
---
config.c | 10 ++
t/t1305-config-include.sh | 16
We're going to have more options for config source.
Let's alter git_config_with_options() interface to accept struct with
all source options.
Signed-off-by: Kirill A. Shutemov kir...@shutemov.name
---
builtin/config.c | 75 ++--
cache.h
git rebase -i collapses ids on todo list to 7 hexdigits.
Let's use core.abbrev config option instead, if it's set.
Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com
---
git-rebase--interactive.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/git-rebase
Kirill A. Shutemov wrote:
git rebase -i collapses ids on todo list to 7 hexdigits.
Let's use core.abbrev config option instead, if it's set.
Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com
---
git-rebase--interactive.sh | 3 ++-
1 file changed, 2 insertions(+), 1
this frustration again.
The patch change code to use full 40-hex revision ids for todo actions
everywhere and collapse them only to show to user.
Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com
---
v3:
- use full 40-hex revision ids for todo actions everywhere and collapse them
only
this frustration again.
Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com
---
v2: fix -chain in the test-case
---
git-rebase--interactive.sh| 4 ++--
t/t3404-rebase-interactive.sh | 7 +++
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/git-rebase--interactive.sh b/git
this frustration again.
Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com
---
git-rebase--interactive.sh| 4 ++--
t/t3404-rebase-interactive.sh | 7 +++
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/git-rebase--interactive.sh b/git-rebase--interactive.sh
index
15 matches
Mail list logo