Article View: linux.kernel.git
Article #4240Re: Feature request
From: David Aguilar
Date: Wed, 02 Dec 2026 04:08
Date: Wed, 02 Dec 2026 04:08
46 lines
12465 bytes
12465 bytes
[Disclaimer: I am the author of Git Cola] On Tue, Aug 18, 2026 at 10:47:25AM +0200, Ernst Reissner wrote: > Hello all, > > Gittyup s possibility to index files linewise turned out to be very useful. > > Me and some of my colleagues at work would adore very much that feature in > git itself. I would highly recommend that you try out Git Cola [1]. FWIW, Git Cola actually invented the interactive line-wise staging interface back in late 2007. Cola supports interactive line-wise staging, unstaging, and reverting of edits. [2] This is one of the use cases where jumping out of the terminal is actually worth it IMO. Cola can be completely driven via keyboard actions with minimal mouse usage, and the UI is intended for both Git power users and novices so you may find that it compliments the core Git CLI quite well. [3] [4] Cola is 19 years old now, so if you haven't tried it recently you may be been missing out on a hidden gem. For example, Cola has a builtin diff viewer for image files (.png, .svg, etc.) beyond its tight integration with `git difftool` and the rest of the core Git ecosystem. One of the best new features in Cola is its full Undo + Redo support for what are typically destructive Git operations. You can carefully craft the state of the index using Cola, and if you accidentally un/stage something that you didn't intend to, you can `ctrl-z` / `shift-ctrl-z` from the Diff editor and it'll undo/redo the edit. This even works for unstaged worktree edits -- the kind that you would typically revert using `git checkout -- <path>`. If you use Cola to make these edits you can actually undo what is typically a destructive Git operation. [1] https://github.com/git-cola/git-cola/ [2] https://git-cola.readthedocs.io/en/latest/git-cola.html#id4 [3] https://git-cola.readthedocs.io/en/latest/git-cola.html#keyboard-shortcuts [4] https://git-cola.github.io/share/doc/git-cola/hotkeys.html -- David
Technical Details
Message-ID:
<aw-ZxoMJvQtBl_9C@gmail.com>Path:
mbox-mo1.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!git+bounces-76836-linux-kernel-git=dewy.ruReferences:
<5f58630c-2490-4a38-9e77-75da906f429e@arcor.de>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!git+bounces-76836-linux-kernel-git=dewy.ru
From: davvid@gmail.com (David Aguilar)
Newsgroups: linux.kernel.git
Subject: Re: Feature request
Date: Tue, 1 Dec 2026 20:08:38 -0800
Organization: Usenet Network
Message-ID: <aw-ZxoMJvQtBl_9C@gmail.com>
References: <5f58630c-2490-4a38-9e77-75da906f429e@arcor.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Injection-Info: usenet.network;
logging-data="1884144"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:a5eLnbgC5hC+1fH+a3PK7DolfNg= sha256:bxFhM9MpiW05QTwY7eLRwbC/XWznvT2LVH+ftaQNjIQ=
sha1:6TiRwZswz1AUPQOsY5iAuWQJNjA= sha256:ZqjYwyKNIPXrieUDIE1OI+yvHEmZ4MBo/dL+0K9GqXY=
Content-Disposition: inline
List-ID: <git.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id EA094117551; Wed, 2 Dec 2026 07:09:04 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.948
X-Spam-Status: No, score=-1.948 tagged_above=-9999 required=6.31
tests=[DCC_CHECK=1.1, DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=gmail.com
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id dS74vtL-t9rv;
Wed, 2 Dec 2026 07:08:57 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=git+bounces-76836-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
by mail.dewy.ru (Postfix) with ESMTPS id 493531171EB; Wed, 2 Dec 2026 07:08:48 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sea.lore.kernel.org (Postfix) with ESMTP id EFFE82F3D8; Wed, 2 Dec 2026 04:08:45 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1796184525;
b=G5BkpmKCC53rXajCPfSyLgRh//KHEStTe7qGv+H1nOSaQZWzge8w3t+t8o08yKDsgV3L
3+xYOzC/G6fNVQVtoz0tjr47Z0N/jatMZnMcA3Ob57dDDAlZ5j/slAT74+OwPJZoDYGTw
nNihKZeJIUl2r04vf8CNB4lQIB1WmzQN9wO3tjBqKoAKvGBhPlZuhivAMZAzgS0omhxad
SNnKZX3ps5+fm+/u6xbFcEMdDOjVXoDmEBRx0Ts7k/YxBZPcApeeLQE98v+sxTSDSBPhc
qrIdZ1N1thuOHEGUv7Adir2xyx7kJhFYRx+QUEt0m05En8PcrKguAWji+K2viAN0hlw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1796184525;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg:X-Received:
Received:Date:From:To:Cc:Subject:Message-ID:References:X-Mailing-List:
List-Id:List-Post:List-Help:List-Subscribe:List-Unsubscribe:
List-Owner:Precedence:MIME-Version:Content-Type:Content-Disposition:
In-Reply-To;
bh=u1GlkjtEWC6rXiHvDakkjlG072qPUoZNvTI9Aes1uYI=;
b=DXOMSOlwHrz/rEcgStFxjANKuMom+Yz9D9uqoYZvi5Y0CR+d4kcO/QJfUzCoy1Y5WnxM
0CmvIxQKdKCgWoKy/gk7odRqZuH8KBy4poqUKFQUkHzvyfv89ICWE8rchDX0ZQRXDdVoH
XI6Fc3FU0jfhZOsBr+dOWFuR5XRTECa0VapEiArAAoXK/UMIvKn4U5JfJ0snkIoUjxI9c
ozcbRN9aP0ytVAmx75pz5w08NfuHkBEN90cCqFCtup7eTaYzJp5efSngi/zhO3V6R3888
uhopDmF1BqkYQnXoZtSmZQqUlvoRWKGFzu7r6HPbljDm+hlmWqLloh5i6y17d8EdYBw==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=dSl8FVAv;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 48DEB606A322;
Wed, 2 Dec 2026 04:08:45 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=dSl8FVAv
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.82.178
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1796184524;
b=Ti80e3/X3kmoErgy5IYp1qV03nyqLiXrsZHXwoPlck2rDUqSs5zq0jwb/ibYfBnsjyWE
hDH/jXQIMwLcrJrX7cXHafMZHmLHJk0nA32NZlW8dawICxoNdoqfR/d1TA7P2KBBm1ig0
F6m+OdXJm4z4r1iXRZFPbC1n8z8BpWQWpCww1ZlKz6oeDDsV3TglIjXZAGGgFTv4FCh+K
Y7uLLA3xzyUgDhmxy1nroUfOPDvelv/y8mI2Ytld2wOayatVM5BWAJ6K/pm3qA/reUavH
hHpq6xu65YheFR+NC/de8uuVmvEYiFRFOw132y5hRQYl9JKFh9Ria10Z6qDmDPdADKA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1796184524;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Gm-Message-State:X-Gm-Gg:X-Received:Received:Date:From:To:Cc:
Subject:Message-ID:References:MIME-Version:Content-Type:
Content-Disposition:In-Reply-To;
bh=u1GlkjtEWC6rXiHvDakkjlG072qPUoZNvTI9Aes1uYI=;
b=UPhgwHio2isVwtWBWK9VrKIzV0CGdLsbJAKXtHBdICi/7Hkn1fmHAF1GXelEPXv2ywBr
Fhzr36AgwFY1ZexRzIad/ui+TCLLKGpYu9PdWCgOaWGtsiH3vd3aw4ZNL42lP4uo1T9sV
EoBo1RgnbXik7bjSHGvxsukf8DpOZuRIbAdN3wIOv67y5knyUXMLbPTQ+bOj+swY1pSMk
HH7rN26mjZiHPieqcRAs9tQ0itgIo0SB/pSQGo4HvKQMkuBroA8CbbHzUPr2X6KJ5dc9y
oaGYIUBMRua2KfUsjT5z4agFkiBgIPhDQrCRdS4WpmXb3Qs6pthriAcUZROJfge3ZcA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=dSl8FVAv;
arc=none smtp.remote-ip=74.125.82.178
X-Received: from mail-dy1-f178.google.com (mail-dy1-f178.google.com [74.125.82.178])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 17DFD606A32A
for <git@vger.kernel.org>; Wed, 2 Dec 2026 04:08:43 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 17DFD606A32A
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-dy1-f178.google.com with SMTP id 5a478bee46e88-38692f62b22so1914062eec.0
for <git@vger.kernel.org>; Tue, 01 Dec 2026 20:08:43 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20260707; t=1796184523; x=1796789323; darn=vger.kernel.org;
h=in-reply-to:content-disposition:content-type:mime-version
:references:message-id:subject:cc:to:from:date:from:to:cc:subject
:date:message-id:reply-to:content-type;
bh=u1GlkjtEWC6rXiHvDakkjlG072qPUoZNvTI9Aes1uYI=;
b=dSl8FVAvUDJ/zl8EsKhozcpYR678QH+n24dOpzdl+lNFkivrOZPiu581ZYw1HZkYln
sA6iDe0ssPDG9KZ8kSed73NwGa1mBGwUdNPpNG/fTsMUml86KX1b6dpdkAYQq86Wwl9D
IfpyUOYQL10houmq97kKx2h7kRyPvmTVLA+p+EuKL+xMTLlJW7qoHxniJbtyKe59ODcH
R3KWpDtjxau7xBxP2+b194b5zbwt4AECtKKQ4VvwBnT4fDAkHtHaM8ZSHzYpXJTljHHT
b5V8k5YZjFn20kPYlbyI8RfPKA1QRCyRZPmhKUXkuCUYebJmqlBKxzJ5LH+/Sy7ogTJG
Qdcw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1796184523; x=1796789323;
h=in-reply-to:content-disposition:content-type:mime-version
:references:message-id:subject:cc:to:from:date:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=u1GlkjtEWC6rXiHvDakkjlG072qPUoZNvTI9Aes1uYI=;
b=L4rqL6Ai9CVhPpoDixmOvjXB6KOOI+s+YJVHWEQwhI11ntkNbhtMElnR9sAhaNkGcK
L7vM9vSgr3n76fJEiuGMN8sebW+uTY3d0T86TAonhhjLo9WX/Wv7grqaUxodPtH8dbl3
jiQLAgfpzpOWwVA8N5p4CqYuvjv1Ln8ZMpewvGTFgKBRa3Ujsnqj+QyHqLvbXdivezy8
leb/shCsRZ5OTEX2MlCPONVIwa/FSvMpsMkuMWTXGXSa27Txg6aRfrMXHWbAr0YxaEx+
3rc5n7mImPMz+Ew6679bzks9NdFS3dIXDnQZv6W/ep9xg/lv2OvyuUdBsrwbuOSc9ziS
+oIw==
X-Gm-Message-State: APuU4Z+XHyETISq/ds3PqaElg1ZNAdt4cSIp1rFQMPDZyKZBIIVtDdaV
D3uqR0rS4LWAAkunCK22ZCZcRkqMONDUpHA2NoYdh6TiDXUERWJmM2apcHkWqw==
X-Gm-Gg: AZFdTZcqfLH1p6mh7KqPKvd0pK3A0TlCwK4kW4Hs4Fx3EVd44MMFUWUhbTEHYqdZn0Y
mSUVCkiwj9GbBApjBH6uyS8uvzHYq6ukcj8tkkyfyWNjDhiAeqnvVLXXB4ai6pOvb1PxHo09Mc6
xHnwq76/20yJ/wqmiRRHEXKJeUD2fwmhKwhORQRtMMgf6KauPhCgHhoHnwbgO/JPAKOhXZk5Q8d
CkTPSM/jLNXbLCT0vBfBdWPbF8v01l5yH23segeIao3OvAiyxW79nn6G4Yr3CWDIVOUafoSsNe3
yWXYCpEhlt47JF2ECM/U2CeE38z1Wso6G13vHxiDyUX0jD3hCK34+WZ8xVmLPLu1soxG/FekTk+
7ZqCbHkmEgMAWSPj7A3ax8odQs1DnmGjnEAmWsNCi3b0G1LLFNZ5Xw+kbVD6JrKueEJOsr2VPGs
93AeaSXjQfup429ymTQq4jGxnoiphpVWSU5txnAzsMcfR5PhVotk3twSGU1YJfKJPnAzE56SLxp
sv4hoy2wbJCSQzhj5ID02FEvVlPv73eeWlP1HJCXCmDi1A9p6w9Kn63l+zWqg+hIFkkGUWb6nDg
/8s0uTySGhYUGcruw03y+7mGLH7I2AC8KG/owK+zIVCOd8m9pEOkZF40CGzc71Uk7faPKn7RdYH
/jJaTJSEb6/9dv0/OZWTC1SyQsGZBOb7PNDMggCT7aOXQro659Y/yrA==
X-Received: by 2002:a05:693c:4146:10b0:387:1be3:2c1b with SMTP id 5a478bee46e88-3871be47e6emr5716940eec.15.1796184523212;
Tue, 01 Dec 2026 20:08:43 -0800 (PST)
X-Received: from gmail.com ([172.56.123.24])
by smtp.gmail.com with ESMTPSA id 5a478bee46e88-3866f299d0bsm99940916eec.19.2026.12.01.20.08.41
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Tue, 01 Dec 2026 20:08:42 -0800 (PST)
X-Cc: git@vger.kernel.org
X-Mailing-List: git@vger.kernel.org
X-List-Post: <mailto:git@vger.kernel.org>
X-List-Help: <mailto:git+help@vger.kernel.org>
X-List-Subscribe: <mailto:git+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:git+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:git+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <5f58630c-2490-4a38-9e77-75da906f429e@arcor.de>